소스 검색

[ci] use additional args provided by RunCi where possible

Aleksandr Kuzmenko 6 년 전
부모
커밋
348192fff4

+ 3 - 3
tests/runci/targets/Cpp.hx

@@ -57,15 +57,15 @@ class Cpp {
 				}
 
 				if (testCppia) {
-					runCommand("haxe", ["compile-cppia-host.hxml"]);
-					runCommand("haxe", ["compile-cppia.hxml"]);
+					runCommand("haxe", ["compile-cppia-host.hxml"].concat(args));
+					runCommand("haxe", ["compile-cppia.hxml"].concat(args));
 					runCpp("bin/cppia/Host-debug", ["bin/unit.cppia"]);
 					runCpp("bin/cppia/Host-debug", ["bin/unit.cppia", "-jit"]);
 				}
 		}
 
 		changeDirectory(sysDir);
-		runCommand("haxe", ["compile-cpp.hxml"]);
+		runCommand("haxe", ["compile-cpp.hxml"].concat(args));
 		runCpp("bin/cpp/Main-debug", []);
 
 		if (systemName != "Windows") { // TODO: find out why we keep getting "missed async calls" error

+ 4 - 4
tests/runci/targets/Cs.hx

@@ -61,18 +61,18 @@ class Cs {
 		for (erasegenerics in [[], ["-D", "erase_generics"]])
 		{
 			var extras = fastcast.concat(erasegenerics).concat(noroot);
-			runCommand("haxe", ['compile-cs$compl.hxml'].concat(extras));
+			runCommand("haxe", ['compile-cs$compl.hxml'].concat(extras).concat(args));
 			runCs("bin/cs/bin/TestMain-Debug.exe");
 
-			runCommand("haxe", ['compile-cs-unsafe$compl.hxml'].concat(extras));
+			runCommand("haxe", ['compile-cs-unsafe$compl.hxml'].concat(extras).concat(args));
 			runCs("bin/cs_unsafe/bin/TestMain-Debug.exe");
 		}
 
-		runCommand("haxe", ['compile-cs$compl.hxml','-dce','no']);
+		runCommand("haxe", ['compile-cs$compl.hxml','-dce','no'].concat(args));
 		runCs("bin/cs/bin/TestMain-Debug.exe");
 
 		changeDirectory(sysDir);
-		runCommand("haxe", ["compile-cs.hxml",'-D','fast_cast']);
+		runCommand("haxe", ["compile-cs.hxml",'-D','fast_cast'].concat(args));
 		runCs("bin/cs/bin/Main-Debug.exe", []);
 
 		// changeDirectory(threadsDir);

+ 1 - 1
tests/runci/targets/Hl.hx

@@ -74,7 +74,7 @@ class Hl {
 		// runCommand("hl", ["export/threads.hl"]);
 
         changeDirectory(sysDir);
-        runCommand("haxe", ["compile-hl.hxml"]);
+        runCommand("haxe", ["compile-hl.hxml"].concat(args));
         runCommand(hlBinary, ["bin/hl/sys.hl"]);
     }
 }

+ 2 - 2
tests/runci/targets/Java.hx

@@ -28,11 +28,11 @@ class Java {
 		runCommand("haxe", ["run.hxml"]);
 
 		changeDirectory(sysDir);
-		runCommand("haxe", ["compile-java.hxml"]);
+		runCommand("haxe", ["compile-java.hxml"].concat(args));
 		runCommand("java", ["-jar", "bin/java/Main-Debug.jar"]);
 
 		changeDirectory(threadsDir);
-		runCommand("haxe", ["build.hxml", "-java", "export/java"]);
+		runCommand("haxe", ["build.hxml", "-java", "export/java"].concat(args));
 		if (systemName != "Windows") { // #8154
 			runCommand("java", ["-jar", "export/java/Main.jar"]);
 		}

+ 2 - 2
tests/runci/targets/Jvm.hx

@@ -12,11 +12,11 @@ class Jvm {
 		runCommand("java", ["-jar", "bin/jvm/TestMain-Debug.jar"]);
 
 		changeDirectory(sysDir);
-		runCommand("haxe", ["compile-jvm.hxml"]);
+		runCommand("haxe", ["compile-jvm.hxml"].concat(args));
 		runCommand("java", ["-jar", "bin/jvm/Main-Debug.jar"]);
 
 		changeDirectory(threadsDir);
-		runCommand("haxe", ["build.hxml", "-java", "export/jvm", "-D", "jvm"]);
+		runCommand("haxe", ["build.hxml", "-java", "export/jvm", "-D", "jvm"].concat(args));
 		if (systemName != "Windows") { // #8154
 			runCommand("java", ["-jar", "export/jvm/Main.jar"]);
 		}

+ 1 - 1
tests/runci/targets/Macro.hx

@@ -25,7 +25,7 @@ class Macro {
 		runCommand("haxe", ["compile.hxml"]);
 
 		changeDirectory(sysDir);
-		runCommand("haxe", ["compile-macro.hxml"]);
+		runCommand("haxe", ["compile-macro.hxml"].concat(args));
 
 		switch Sys.systemName() {
 			case 'Linux':

+ 1 - 1
tests/runci/targets/Neko.hx

@@ -10,7 +10,7 @@ class Neko {
 		runCommand("neko", ["bin/unit.n"]);
 
 		changeDirectory(sysDir);
-		runCommand("haxe", ["compile-neko.hxml"]);
+		runCommand("haxe", ["compile-neko.hxml"].concat(args));
 		runCommand("neko", ["bin/neko/sys.n"]);
 
 		// changeDirectory(threadsDir);

+ 1 - 1
tests/runci/targets/Php.hx

@@ -62,7 +62,7 @@ class Php {
 			if(isCi()) {
 				deleteDirectoryRecursively(binDir);
 			}
-			runCommand("haxe", ["compile-php.hxml"].concat(prefix));
+			runCommand("haxe", ["compile-php.hxml"].concat(prefix).concat(args));
 			runThroughPhpVersions(runCommand.bind("php", ["bin/php/Main/index.php"]));
 		}
 	}

+ 1 - 1
tests/runci/targets/Python.hx

@@ -66,7 +66,7 @@ class Python {
 		}
 
 		changeDirectory(sysDir);
-		runCommand("haxe", ["compile-python.hxml"]);
+		runCommand("haxe", ["compile-python.hxml"].concat(args));
 		for (py in pys) {
 			runCommand(py, ["bin/python/sys.py"]);
 		}