diff options
| author | ruki <[email protected]> | 2020-04-22 23:50:51 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-04-22 17:05:10 +0800 |
| commit | 00f34ec89f7735b45a3ecdb55f0952d545d73cbb (patch) | |
| tree | 805b1ebb127cc86f94f1ecc6dd883294337ef00d /tests/projects/xmake_cli | |
| parent | 05df31effcfc9bc701387e1383b678f0914241be (diff) | |
pass engine name
Diffstat (limited to 'tests/projects/xmake_cli')
| -rw-r--r-- | tests/projects/xmake_cli/hello/src/lni/main.c | 2 | ||||
| -rw-r--r-- | tests/projects/xmake_cli/xmake/src/main.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/projects/xmake_cli/hello/src/lni/main.c b/tests/projects/xmake_cli/hello/src/lni/main.c index d1ab0b0fb..298d34d57 100644 --- a/tests/projects/xmake_cli/hello/src/lni/main.c +++ b/tests/projects/xmake_cli/hello/src/lni/main.c @@ -21,5 +21,5 @@ tb_int_t main(tb_int_t argc, tb_char_t** argv) #else tb_char_t const* luaopts = "-D"; #endif - return xm_engine_run_lua(argc, argv, lni_initalizer, luaopts); + return xm_engine_run_lua("hello", argc, argv, lni_initalizer, luaopts); } diff --git a/tests/projects/xmake_cli/xmake/src/main.c b/tests/projects/xmake_cli/xmake/src/main.c index 68403c6c4..852658071 100644 --- a/tests/projects/xmake_cli/xmake/src/main.c +++ b/tests/projects/xmake_cli/xmake/src/main.c @@ -2,5 +2,5 @@ tb_int_t main(tb_int_t argc, tb_char_t** argv) { - return xm_engine_run(argc, argv, tb_null); + return xm_engine_run("xmake", argc, argv, tb_null); } |
