summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2023-12-28 14:23:19 +0800
committerGitHub <[email protected]>2023-12-28 14:23:19 +0800
commit2a60ad80ea8c367ff111a281252cc202d2938af6 (patch)
tree890a24810abfec56be29debdb607419ab754ab3b
parentceb4a08f1638492957db7ffdc97a43b7ec55ce64 (diff)
Update main.lua
-rw-r--r--xmake/actions/test/main.lua3
1 files changed, 0 insertions, 3 deletions
diff --git a/xmake/actions/test/main.lua b/xmake/actions/test/main.lua
index 9313b381c..a61e40966 100644
--- a/xmake/actions/test/main.lua
+++ b/xmake/actions/test/main.lua
@@ -309,12 +309,9 @@ function _run_tests(tests)
cprint("${color.success}%d%%${clear} tests passed, ${color.failure}%d${clear} tests failed out of ${bright}%d${clear}, spent ${bright}%0.3fs",
passed_rate, report.total - report.passed, report.total, spent / 1000)
local return_zero = project.policy("test.return_zero_on_failure")
- print("return_zero", return_zero)
if not return_zero and report.passed < report.total then
- print("raise")
raise()
end
- print("end")
end
-- try to build the given target