Browse Source

reactivate As3 unit test compilation

Simon Krajewski 12 years ago
parent
commit
ae4605c4c8
2 changed files with 3 additions and 1 deletions
  1. 2 0
      tests/unit/TestBasetypes.hx
  2. 1 1
      tests/unit/compile.hxml

+ 2 - 0
tests/unit/TestBasetypes.hx

@@ -181,9 +181,11 @@ class TestBasetypes extends Test {
 	
 		#end
 
+		#if !as3
 		eq( Math.ffloor( -10000000000.7), -10000000001. );
 		eq( Math.fceil( -10000000000.7), -10000000000. );
 		eq( Math.fround( -10000000000.7), -10000000001. );
+		#end
 
 	}
 

+ 1 - 1
tests/unit/compile.hxml

@@ -62,7 +62,7 @@ unit.Test
 --next
 -main unit.Test
 -as3 as3
-#-cmd mxmlc -static-link-runtime-shared-libraries=true -debug as3/__main__.as --output unit9_as3.swf
+-cmd mxmlc -static-link-runtime-shared-libraries=true -debug as3/__main__.as --output unit9_as3.swf
 
 #cpp
 --next