Skip to content

Commit a3da939

Browse files
committed
test suite runs but 2/11 fails
1 parent 0d6609c commit a3da939

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

xmake.lua

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -300,9 +300,9 @@ task("test-all")
300300

301301
if parallel then
302302
-- For parallel execution, we'd need more sophisticated handling
303-
success = pcall(run_test)
303+
success = os.exec("xmake run " .. test_name)
304304
else
305-
success = pcall(run_test)
305+
success = os.exec("xmake run " .. test_name)
306306
end
307307

308308
local end_time = os.time()
@@ -406,9 +406,7 @@ task("examples-all")
406406
print(" 🔄 Running " .. example_name .. "...")
407407
end
408408

409-
local success = pcall(function()
410-
task.run("run", {}, example_name)
411-
end)
409+
local success = os.exec("xmake run " .. example_name)
412410

413411
if success then
414412
if verbose then

0 commit comments

Comments
 (0)