浏览代码

[ci] test with -D js-unflatten, as js-flatten is not a thing anymore

Dan Korostelev 10 年之前
父节点
当前提交
d282ed1b97
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tests/RunCi.hx

+ 1 - 1
tests/RunCi.hx

@@ -545,7 +545,7 @@ class RunCi {
 					getJSDependencies();
 					getJSDependencies();
 
 
 					for (flatten in [true, false]) {
 					for (flatten in [true, false]) {
-						runCommand("haxe", ["compile-js.hxml"].concat(flatten ? ["-D", "js-flatten"] : []));
+						runCommand("haxe", ["compile-js.hxml"].concat(flatten ? [] : ["-D", "js-unflatten"]));
 						runCommand("node", ["-e", "var unit = require('./bin/unit.js').unit; unit.Test.main(); process.exit(unit.Test.success ? 0 : 1);"]);
 						runCommand("node", ["-e", "var unit = require('./bin/unit.js').unit; unit.Test.main(); process.exit(unit.Test.success ? 0 : 1);"]);
 					}
 					}