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.
@@ -0,0 +1,3 @@
+compile-each.hxml
+unit.Test
+-lua bin/unit.lua
@@ -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);