浏览代码

adjust unit tests to new --dce

Simon Krajewski 13 年之前
父节点
当前提交
c47cbd982d
共有 2 个文件被更改,包括 2 次插入2 次删除
  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