2
0
Эх сурвалжийг харах

Lua : Add initial testing config

This sets Lua up for some unit testing.  We won't have an event loop
based timer, so we'll drop that from Test.hx.
Justin Donaldson 10 жил өмнө
parent
commit
36d3c1f0e9

+ 3 - 0
tests/unit/compile-lua.hxml

@@ -0,0 +1,3 @@
+compile-each.hxml
+unit.Test
+-lua bin/unit.lua

+ 1 - 1
tests/unit/src/unit/Test.hx

@@ -252,7 +252,7 @@ class Test {
 	}
 
 	static function resetTimer() {
-		#if (neko || php || cpp || java || cs || python || hl)
+		#if (neko || php || cpp || java || cs || python || hl || lua)
 		#else
 		if( timer != null ) timer.stop();
 		timer = new haxe.Timer(30000);