File tree Expand file tree Collapse file tree 3 files changed +13
-2
lines changed 
tests/src/test/scala/org/scalanative/bindgen Expand file tree Collapse file tree 3 files changed +13
-2
lines changed Original file line number Diff line number Diff line change 11import  scala .sys .process ._ 
22
33addCommandAlias(" verify"  , " ; ^test:compile ; ^test ; ^scripted ; docs/makeSite"  )
4+ addCommandAlias(
5+   " verifyWithoutMemoryChecks"  ,
6+   " ; "   + 
7+     " ^test:compile ; "   + 
8+     " ^testOnly -- -z \" should exist\"  -z \" correct bindings\"  ; "   + 
9+     " ^scripted ; "   + 
10+     " docs/makeSite"  )
411
512val  Versions  =  new  {
613  val  scala210  =  " 2.10.6" 
Original file line number Diff line number Diff line change @@ -13,4 +13,8 @@ if [[ ! -e bindgen/target/.llvm-version ]] || [[ "$(<bindgen/target/.llvm-versio
1313fi 
1414
1515make -C bindgen/target
16- sbt " ${@:- verify} " 
16+ if  [[ " ${LLVM_VERSION} "   ==  " 5.0"   ]];  then 
17+   sbt " ${@:- verify} " 
18+ else 
19+   sbt " ${@:- verifyWithoutMemoryChecks} " 
20+ fi 
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ class BindgenSpec extends FunSpec {
5151    }
5252
5353    for  (input <-  inputDirectory.listFiles() if  input.getName.endsWith(" .h"  )) {
54-       it(s " should generate bindings for  ${input.getName}" ) {
54+       it(s " should generate correct  bindings for  ${input.getName}" ) {
5555        val  testName  =  input.getName.replace(" .h"  , " "  )
5656        val  expected  =  new  File (inputDirectory, testName +  " .scala"  )
5757        val  output    =  new  File (outputDir, testName +  " .scala"  )
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments