Browse Source

adjust unit tests to new --dce

Simon Krajewski 13 years ago
parent
commit
c47cbd982d
2 changed files with 2 additions and 2 deletions
  1. 1 1
      tests/unit/Test.hx
  2. 1 1
      tests/unit/compile.hxml

+ 1 - 1
tests/unit/Test.hx

@@ -232,7 +232,7 @@ package unit;
 			#if java
 			new TestJava(),
 			#end
-			#if (dce && !interp)
+			#if ((dce == "full") && !interp && !as3)
 			new TestDCE(),
 			#end
 			//new TestUnspecified(),

+ 1 - 1
tests/unit/compile.hxml

@@ -21,7 +21,7 @@
 -resource res1.txt
 -resource res2.bin
 --no-opt
---dead-code-elimination
+--dce full
 --each
 
 #flash8