浏览代码

added -D noopt

Nicolas Cannasse 16 年之前
父节点
当前提交
ec1604b2f8
共有 2 个文件被更改,包括 20 次插入10 次删除
  1. 9 4
      tests/unit/unit.hxml
  2. 11 6
      tests/unit/unit.hxp

+ 9 - 4
tests/unit/unit.hxml

@@ -1,10 +1,11 @@
-# Flash
+# 
 -swf unit8.swf
 -main unit.Test
 -debug
 -cp ..
 -resource res1.txt
 -resource res2.bin
+-D noopt
 
 --next
 # Flash9
@@ -14,11 +15,13 @@
 -cp ..
 -resource res1.txt
 -resource res2.bin
+-D noopt
 
 #--next
 #-as3 as3
 #-cp ..
 #-main unit.Test
+#-D noopt
 #-cmd mxmlc -default-size 800 600 -debug -output unit9_as3.swf as3/__main__.as
 
 --next
@@ -28,15 +31,16 @@ unit.Test
 -cp ..
 -resource res1.txt
 -resource res2.bin
+-D noopt
 
 --next
-# Neko
+# 
 -neko unit.n
 -main unit.Test
 -cp ..
 -resource res1.txt
 -resource res2.bin
-
+-D noopt
 
 --next
 # RemotingServer
@@ -51,6 +55,7 @@ unit.Test
 -cp ..
 -resource res1.txt
 -resource res2.bin
+-D noopt
 
 #--next
 #-cpp cpp
@@ -58,4 +63,4 @@ unit.Test
 #-cp ..
 #-resource res1.txt
 #-resource res2.bin
-
+#-D noopt

+ 11 - 6
tests/unit/unit.hxp

@@ -1,27 +1,32 @@
 <haxe selected="0">
-  <output name="Flash" mode="swf" out="unit8.swf" class="unit.Test" lib="" cmd="http://dev.unit-tests/unit.html" main="True" debug="True">-cp ..
+  <output name="" mode="swf" out="unit8.swf" class="unit.Test" lib="" cmd="http://dev.unit-tests/unit.html" main="True" debug="True">-cp ..
 -resource res1.txt
--resource res2.bin</output>
+-resource res2.bin
+-D noopt</output>
   <output name="Flash9" mode="swf9" out="unit9.swf" class="unit.Test" lib="" cmd="unit9_as3.swf" main="True" debug="True">-cp ..
 -resource res1.txt
 -resource res2.bin
+-D noopt
 
 #--next
 #-as3 as3
 #-cp ..
 #-main unit.Test
+#-D noopt
 #-cmd mxmlc -default-size 800 600 -debug -output unit9_as3.swf as3/__main__.as</output>
   <output name="JS" mode="js" out="unit.js" class="unit.Test" lib="" cmd="" main="False" debug="False">-cp ..
 -resource res1.txt
--resource res2.bin</output>
-  <output name="Neko" mode="neko" out="unit.n" class="unit.Test" lib="" cmd="" main="True" debug="False">-cp ..
+-resource res2.bin
+-D noopt</output>
+  <output name="" mode="neko" out="unit.n" class="unit.Test" lib="" cmd="" main="True" debug="False">-cp ..
 -resource res1.txt
 -resource res2.bin
-</output>
+-D noopt</output>
   <output name="RemotingServer" mode="neko" out="remoting.n" class="unit.RemotingServer" lib="" cmd="" main="True" debug="False">-cp ..</output>
   <output name="PHP" mode="php" out="php" class="unit.Test" lib="" cmd="" main="True" debug="False">-cp ..
 -resource res1.txt
 -resource res2.bin
+-D noopt
 
 #--next
 #-cpp cpp
@@ -29,7 +34,7 @@
 #-cp ..
 #-resource res1.txt
 #-resource res2.bin
-</output>
+#-D noopt</output>
   <files path="/">
     <file path="MyClass.hx" />
     <file path="MyEnum.hx" />