diff options
| -rw-r--r-- | tests/projects/test_stdin/xmake_debug.lua | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/tests/projects/test_stdin/xmake_debug.lua b/tests/projects/test_stdin/xmake_debug.lua deleted file mode 100644 index f9102a0e1..000000000 --- a/tests/projects/test_stdin/xmake_debug.lua +++ /dev/null @@ -1,29 +0,0 @@ -target("test_execv") - set_kind("phony") - on_run(function (target) - print("Testing os.execv with sh:") - try { - function () - local ok, status = os.execv("sh", {"-c", "exit 1"}) - print("sh returned: ok=" .. tostring(ok) .. ", status=" .. tostring(status)) - end, - catch { - function (e) - print("sh raised exception: " .. tostring(e)) - end - } - } - - print("Testing os.execv with pwsh:") - try { - function () - local ok, status = os.execv("pwsh", {"-c", "exit 1"}) - print("pwsh returned: ok=" .. tostring(ok) .. ", status=" .. tostring(status)) - end, - catch { - function (e) - print("pwsh raised exception: " .. tostring(e)) - end - } - } - end) |
