diff options
author | David Walter Seikel | 2012-01-22 09:52:48 +1000 |
---|---|---|
committer | David Walter Seikel | 2012-01-22 09:52:48 +1000 |
commit | cc667bf0af532d36cf0a0d877536200721b7b681 (patch) | |
tree | fec9476a969e636ee104cd390cf97aa78bab5e35 /LuaSL/src | |
parent | Patch up a few expression things so that all the MLP scripts parse. (diff) | |
download | SledjHamr-cc667bf0af532d36cf0a0d877536200721b7b681.zip SledjHamr-cc667bf0af532d36cf0a0d877536200721b7b681.tar.gz SledjHamr-cc667bf0af532d36cf0a0d877536200721b7b681.tar.bz2 SledjHamr-cc667bf0af532d36cf0a0d877536200721b7b681.tar.xz |
Move the test script into the directory where the other tests are, so it's no longer a special case. Clean up after that.
Diffstat (limited to '')
-rw-r--r-- | LuaSL/src/LuaSL_main.c | 13 |
1 files changed, 2 insertions, 11 deletions
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) | |||
78 | { | 78 | { |
79 | snprintf(buf, sizeof(buf), "%s/%s", path, name); | 79 | snprintf(buf, sizeof(buf), "%s/%s", path, name); |
80 | if (compileLSL(game, buf, FALSE)) | 80 | if (compileLSL(game, buf, FALSE)) |
81 | PI("Against all odds, the compile of %s worked! lol", buf); | 81 | PD("Against all odds, the compile of %s worked! lol", buf); |
82 | else | 82 | else |
83 | PE("The compile of %s failed!", buf); | 83 | PE("The compile of %s failed!", buf); |
84 | } | 84 | } |
@@ -179,19 +179,10 @@ main(int argc, char **argv) | |||
179 | ecore_evas_callback_delete_request_set(game.ee, _on_delete); | 179 | ecore_evas_callback_delete_request_set(game.ee, _on_delete); |
180 | edje_object_signal_callback_add(game.edje, "*", "game_*", _edje_signal_cb, &game); | 180 | edje_object_signal_callback_add(game.edje, "*", "game_*", _edje_signal_cb, &game); |
181 | 181 | ||
182 | // Setup for the compiler. | 182 | // Do the compiles. |
183 | compilerSetup(&game); | 183 | compilerSetup(&game); |
184 | |||
185 | snprintf(buf, sizeof(buf), "%s/Test sim/objects", PACKAGE_DATA_DIR); | 184 | snprintf(buf, sizeof(buf), "%s/Test sim/objects", PACKAGE_DATA_DIR); |
186 | eina_file_dir_list(buf, EINA_TRUE, dirList_cb, &game); | 185 | eina_file_dir_list(buf, EINA_TRUE, dirList_cb, &game); |
187 | // snprintf(buf, sizeof(buf), "%s/Test sim/objects/onefang's test bed/~run", PACKAGE_DATA_DIR); | ||
188 | // snprintf(buf, sizeof(buf), "%s/test2.lsl", PACKAGE_DATA_DIR); | ||
189 | // if (compileLSL(&game, buf, FALSE)) | ||
190 | // PIm("Against all odds, the compile of %s worked! lol", buf); | ||
191 | // else | ||
192 | // PEm("The compile of %s failed!", buf); | ||
193 | snprintf(buf, sizeof(buf), "%s/test.lsl", PACKAGE_DATA_DIR); | ||
194 | compileLSL(&game, buf, FALSE); | ||
195 | 186 | ||
196 | // ecore_main_loop_begin(); | 187 | // ecore_main_loop_begin(); |
197 | 188 | ||