diff options
author | David Walter Seikel | 2012-01-28 09:53:19 +1000 |
---|---|---|
committer | David Walter Seikel | 2012-01-28 09:53:19 +1000 |
commit | 9d5c3ae26bf1dca7074a3bedab723d20c8cc3133 (patch) | |
tree | e85363fd8b57c9ab21b87ad271bfaddb8a9f3992 /LuaSL/src | |
parent | Last minute coment before bed. (diff) | |
download | SledjHamr-9d5c3ae26bf1dca7074a3bedab723d20c8cc3133.zip SledjHamr-9d5c3ae26bf1dca7074a3bedab723d20c8cc3133.tar.gz SledjHamr-9d5c3ae26bf1dca7074a3bedab723d20c8cc3133.tar.bz2 SledjHamr-9d5c3ae26bf1dca7074a3bedab723d20c8cc3133.tar.xz |
Disable the Lua run time tests for now, and patch up a couple of things that should be disabled along with that.
Diffstat (limited to 'LuaSL/src')
-rw-r--r-- | LuaSL/src/LuaSL_main.c | 6 |
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 | ||
5 | static int scriptCount; | 5 | static 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 | } |