summaryrefslogtreecommitdiff
path: root/tests/modules/stdin/test.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2026-02-02 22:43:31 +0800
committerGitHub <[email protected]>2026-02-02 22:43:31 +0800
commit0c76b46b5bd1250edd45493f6839c60d592724ca (patch)
treeee78b5eb0aba300838e966f2a62ae6383405329b /tests/modules/stdin/test.lua
parent7799a7947779a1c962e8c3256bcd615891f2a338 (diff)
Update test.lua
Diffstat (limited to 'tests/modules/stdin/test.lua')
-rw-r--r--tests/modules/stdin/test.lua5
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/modules/stdin/test.lua b/tests/modules/stdin/test.lua
index db37a0806..dd781e28b 100644
--- a/tests/modules/stdin/test.lua
+++ b/tests/modules/stdin/test.lua
@@ -34,12 +34,7 @@ end
function _get_xmake_and_run_stdin()
local xmake = path.translate(os.programfile())
- local is_ape = binutils.format(xmake) == "ape"
local run_stdin = string.format('"%s" l --stdin', xmake)
- -- Fix pwsh and cosmocc "exec format error" for MacOS
- if is_ape and not is_host("windows") then
- run_stdin = string.format("sh -c ' \"%s\" l --stdin '", xmake)
- end
return xmake, run_stdin
end