diff options
| -rw-r--r-- | xmake/actions/test/main.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/actions/test/main.lua b/xmake/actions/test/main.lua index 5059140bb..dfbc04038 100644 --- a/xmake/actions/test/main.lua +++ b/xmake/actions/test/main.lua @@ -35,8 +35,8 @@ import("actions.build.main", {rootdir = os.programdir(), alias = "build_action"} function _do_test_target(target, opt) opt = opt or {} - -- test build only - if opt.build_only then + -- early out: results were computed during build + if opt.build_should_fail then return opt.passed, opt.errors end |
