summaryrefslogtreecommitdiff
path: root/tests/plugins/project
diff options
context:
space:
mode:
Diffstat (limited to 'tests/plugins/project')
-rw-r--r--tests/plugins/project/test.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/plugins/project/test.lua b/tests/plugins/project/test.lua
index fd16f8645..a518a5aa9 100644
--- a/tests/plugins/project/test.lua
+++ b/tests/plugins/project/test.lua
@@ -34,7 +34,9 @@ function test_vsxmake(t)
try
{
function ()
- os.execv("msbuild", {"/P:XmakeDiagnosis=true", "/P:XmakeVerbose=true"}, {envs = toolchain.load("msvc"):runenvs()})
+ local runenvs = toolchain.load("msvc"):runenvs()
+ os.addenv("PATH", runenvs.PATH)
+ os.execv("msbuild", {"/P:XmakeDiagnosis=true", "/P:XmakeVerbose=true"}, {envs = runenvs})
end,
catch
{