improve test script

pull/3185/head
ruki 10 months ago
parent 1161f65f54
commit 63e3e31ea4
  1. 6
      scripts/test.lua

@ -78,7 +78,11 @@ function _require_packages(argv, packages)
end end
local runtimes = argv.runtimes or argv.vs_runtime local runtimes = argv.runtimes or argv.vs_runtime
if runtimes then if runtimes then
table.insert(config_argv, "--vs_runtime=" .. runtimes) if is_host("windows") then
table.insert(config_argv, "--vs_runtime=" .. runtimes)
else
table.insert(config_argv, "--runtimes=" .. runtimes)
end
end end
if argv.xcode_sdkver then if argv.xcode_sdkver then
table.insert(config_argv, "--xcode_sdkver=" .. argv.xcode_sdkver) table.insert(config_argv, "--xcode_sdkver=" .. argv.xcode_sdkver)

Loading…
Cancel
Save