From 9d5c3ae26bf1dca7074a3bedab723d20c8cc3133 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Sat, 28 Jan 2012 09:53:19 +1000 Subject: Disable the Lua run time tests for now, and patch up a couple of things that should be disabled along with that. --- LuaSL/src/LuaSL_main.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'LuaSL/src/LuaSL_main.c') diff --git a/LuaSL/src/LuaSL_main.c b/LuaSL/src/LuaSL_main.c index 9933dca..3ee2e8c 100644 --- a/LuaSL/src/LuaSL_main.c +++ b/LuaSL/src/LuaSL_main.c @@ -1,6 +1,6 @@ #include "LuaSL.h" -#define LUA_TEST 1 +#define LUA_TEST 0 static int scriptCount; @@ -406,7 +406,9 @@ main(int argc, char **argv) scriptCount = 0; gettimeofday(&lastTime2, 0); compilerSetup(&game); +#if LUA_TEST runnerSetup(&game); +#endif snprintf(buf, sizeof(buf), "%s/Test sim/objects", PACKAGE_DATA_DIR); eina_file_dir_list(buf, EINA_TRUE, dirList_cb, &game); diff = timeDiff(&thisTime2, &lastTime2); @@ -474,9 +476,11 @@ main(int argc, char **argv) ecore_evas_free(game.ee); } +#if LUA_TEST runnerTearDown(&game); diff = timeDiff(&thisTime2, &lastTime2); printf("Running that last one locally TOOK %f seconds.\n",diff); +#endif edje_shutdown(); ecore_evas_shutdown(); } -- cgit v1.1