summaryrefslogtreecommitdiff
path: root/tests/plugins/project
diff options
context:
space:
mode:
authorruki <[email protected]>2020-12-17 00:33:09 +0800
committerruki <[email protected]>2020-12-17 00:33:09 +0800
commit55ceaffc18102b40bee2916335303e6861e5cfcb (patch)
tree1efe82b5501f26205f9d20962224bf453c3187f1 /tests/plugins/project
parent83e09c0fa0ea1cc9b40860d9f58676b0a4f12a38 (diff)
improve to load platform for vs plugin
Diffstat (limited to 'tests/plugins/project')
-rw-r--r--tests/plugins/project/test.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/plugins/project/test.lua b/tests/plugins/project/test.lua
index 30fbe323b..1aac20088 100644
--- a/tests/plugins/project/test.lua
+++ b/tests/plugins/project/test.lua
@@ -21,7 +21,7 @@ function test_vsxmake(t)
-- set config
local arch = os.getenv("platform") or "x86"
config.set("arch", arch, {readonly = true, force = true})
- platform.load(config.plat()):check()
+ platform.load(config.plat(), arch):check()
-- create sln & vcxproj
local vs = config.get("vs")