summaryrefslogtreecommitdiff
path: root/xmake/actions/test
diff options
context:
space:
mode:
authorruki <[email protected]>2025-12-28 20:31:13 +0800
committerruki <[email protected]>2025-12-29 00:09:39 +0800
commitbdfa86bccebb1bed6f3c7cec97db58d69ec44572 (patch)
tree870f7980ac7db09a695125af5457aa9e706873a0 /xmake/actions/test
parentefbe455bd1bbbd320174d36af99e95fb1628dfa5 (diff)
fix xmake test for std modules
Diffstat (limited to 'xmake/actions/test')
-rw-r--r--xmake/actions/test/main.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/xmake/actions/test/main.lua b/xmake/actions/test/main.lua
index 0e7192d83..85866814a 100644
--- a/xmake/actions/test/main.lua
+++ b/xmake/actions/test/main.lua
@@ -31,6 +31,7 @@ import("private.action.run.runenvs")
import("private.service.remote_build.action", {alias = "remote_build_action"})
import("actions.build.main", {rootdir = os.programdir(), alias = "build_action"})
import("utils.progress")
+import("private.utils.target", {alias = "target_utils"})
-- test target
function _do_test_target(target, opt)
@@ -522,6 +523,7 @@ function get_tests()
if extra.packages then
target_new:add("packages", extra.packages)
end
+ target_utils.config_target(target_new)
testinfo.target = target_new
end
end