From cc667bf0af532d36cf0a0d877536200721b7b681 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Sun, 22 Jan 2012 09:52:48 +1000 Subject: Move the test script into the directory where the other tests are, so it's no longer a special case. Clean up after that. --- LuaSL/src/LuaSL_main.c | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'LuaSL/src/LuaSL_main.c') diff --git a/LuaSL/src/LuaSL_main.c b/LuaSL/src/LuaSL_main.c index 2fb8512..4820dbb 100644 --- a/LuaSL/src/LuaSL_main.c +++ b/LuaSL/src/LuaSL_main.c @@ -78,7 +78,7 @@ void dirList_cb(const char *name, const char *path, void *data) { snprintf(buf, sizeof(buf), "%s/%s", path, name); if (compileLSL(game, buf, FALSE)) - PI("Against all odds, the compile of %s worked! lol", buf); + PD("Against all odds, the compile of %s worked! lol", buf); else PE("The compile of %s failed!", buf); } @@ -179,19 +179,10 @@ main(int argc, char **argv) ecore_evas_callback_delete_request_set(game.ee, _on_delete); edje_object_signal_callback_add(game.edje, "*", "game_*", _edje_signal_cb, &game); - // Setup for the compiler. + // Do the compiles. compilerSetup(&game); - snprintf(buf, sizeof(buf), "%s/Test sim/objects", PACKAGE_DATA_DIR); eina_file_dir_list(buf, EINA_TRUE, dirList_cb, &game); -// snprintf(buf, sizeof(buf), "%s/Test sim/objects/onefang's test bed/~run", PACKAGE_DATA_DIR); -// snprintf(buf, sizeof(buf), "%s/test2.lsl", PACKAGE_DATA_DIR); -// if (compileLSL(&game, buf, FALSE)) -// PIm("Against all odds, the compile of %s worked! lol", buf); -// else -// PEm("The compile of %s failed!", buf); - snprintf(buf, sizeof(buf), "%s/test.lsl", PACKAGE_DATA_DIR); - compileLSL(&game, buf, FALSE); // ecore_main_loop_begin(); -- cgit v1.1