aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--LuaSL/src/LuaSL_main.c6
1 files changed, 5 insertions, 1 deletions
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 @@
1#include "LuaSL.h" 1#include "LuaSL.h"
2 2
3#define LUA_TEST 1 3#define LUA_TEST 0
4 4
5static int scriptCount; 5static int scriptCount;
6 6
@@ -406,7 +406,9 @@ main(int argc, char **argv)
406 scriptCount = 0; 406 scriptCount = 0;
407 gettimeofday(&lastTime2, 0); 407 gettimeofday(&lastTime2, 0);
408 compilerSetup(&game); 408 compilerSetup(&game);
409#if LUA_TEST
409 runnerSetup(&game); 410 runnerSetup(&game);
411#endif
410 snprintf(buf, sizeof(buf), "%s/Test sim/objects", PACKAGE_DATA_DIR); 412 snprintf(buf, sizeof(buf), "%s/Test sim/objects", PACKAGE_DATA_DIR);
411 eina_file_dir_list(buf, EINA_TRUE, dirList_cb, &game); 413 eina_file_dir_list(buf, EINA_TRUE, dirList_cb, &game);
412 diff = timeDiff(&thisTime2, &lastTime2); 414 diff = timeDiff(&thisTime2, &lastTime2);
@@ -474,9 +476,11 @@ main(int argc, char **argv)
474 ecore_evas_free(game.ee); 476 ecore_evas_free(game.ee);
475 } 477 }
476 478
479#if LUA_TEST
477 runnerTearDown(&game); 480 runnerTearDown(&game);
478 diff = timeDiff(&thisTime2, &lastTime2); 481 diff = timeDiff(&thisTime2, &lastTime2);
479 printf("Running that last one locally TOOK %f seconds.\n",diff); 482 printf("Running that last one locally TOOK %f seconds.\n",diff);
483#endif
480 edje_shutdown(); 484 edje_shutdown();
481 ecore_evas_shutdown(); 485 ecore_evas_shutdown();
482 } 486 }