summaryrefslogtreecommitdiff
path: root/tests/projects/xmake_cli
diff options
context:
space:
mode:
Diffstat (limited to 'tests/projects/xmake_cli')
-rw-r--r--tests/projects/xmake_cli/hello/src/lni/main.c2
-rw-r--r--tests/projects/xmake_cli/xmake/src/main.c2
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);
}