summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2023-10-31 00:49:30 +0800
committerruki <[email protected]>2023-10-31 00:49:30 +0800
commit7d6ae3855d51046a0b9e73d964d0d6c4c694956f (patch)
tree7bc30025d77a6c7c4fc0194f6e1fac5abd2a3bc4
parente4d57fb4ad458764a1a1b9488f70fe717036b3f8 (diff)
fix test
-rw-r--r--xmake/actions/test/main.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/actions/test/main.lua b/xmake/actions/test/main.lua
index a4a0b4840..d73274a28 100644
--- a/xmake/actions/test/main.lua
+++ b/xmake/actions/test/main.lua
@@ -36,7 +36,7 @@ function _do_test_target(target, opt)
opt = opt or {}
-- early out: results were computed during build
- if opt.build_should_fail then
+ if opt.build_should_fail or opt.build_should_pass then
return opt.passed, opt.errors
end