Browse Source

[lua] use lua alias instead of luajit on hererocks installation

Justin Donaldson 8 years ago
parent
commit
653c9f4d4a
1 changed files with 2 additions and 10 deletions
  1. 2 10
      tests/sys/src/TestCommandBase.hx

+ 2 - 10
tests/sys/src/TestCommandBase.hx

@@ -41,11 +41,7 @@ class TestCommandBase extends haxe.unit.TestCase {
 			#elseif php
 				run(untyped __php__("defined('PHP_BINARY') ? PHP_BINARY : 'php'"), [bin].concat(args));
 			#elseif lua
-				if (lua.Lua.type(untyped jit) == "table"){
-					run("luajit", [bin].concat(args));
-				} else {
-					run("lua", [bin].concat(args));
-				}
+				run("lua", [bin].concat(args));
 			#else
 				-1;
 			#end
@@ -129,11 +125,7 @@ class TestCommandBase extends haxe.unit.TestCase {
 				#elseif php
 					run(untyped __php__("defined('PHP_BINARY') ? PHP_BINARY : 'php'"), [bin].concat(args));
 				#elseif lua
-					if (lua.Lua.type(untyped jit) == "table"){
-						run("luajit", [bin].concat(args));
-					} else {
-						run("lua", [bin].concat(args));
-					}
+					run("lua", [bin].concat(args));
 				#else
 					-1;
 				#end