Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion scripts/xmake_test.lua
Original file line number Diff line number Diff line change
Expand Up @@ -827,7 +827,12 @@ task("test")
-- directory, so the archive only lands where this run looks for it from inside the project.
local function buildNativeArchive()
local project = os.projectdir()
os.execv("xmake", {"build", "-P", project, "ens-llvm"}, {curdir = project})
local argv = {"build", "-P", project}
if option.get("yes") or not io.stdin:isatty() then
table.insert(argv, "-y")
end
table.insert(argv, "ens-llvm")
os.execv("xmake", argv, {curdir = project})
if not os.isfile(native_archive) then
os.raise("Could not locate the native archive at " .. native_archive)
end
Expand Down
Loading