Skip to content
Snippets Groups Projects
Commit 41989f7d authored by AlQuemist's avatar AlQuemist Committed by Ammar Nejati
Browse files

WindowsMake: fix PATH variable for testing

parent 29620fec
No related branches found
No related tags found
1 merge request!1698Python script to build installers and wheels for all platforms and Python versions
......@@ -76,12 +76,10 @@ class WindowsMake:
""" Perform tests """
os.chdir(dirs.build)
# Windows: change the system PATH temporarily
ENV["PATH"] = WindowsMake.QT_MSVC_DIR + "/bin;"
+ dirs.python + ";"
+ WindowsMake.PATH_INI
_PATH = WindowsMake.QT_MSVC_DIR + "/bin;" + dirs.python + ";" + WindowsMake.PATH_INI
test_prc = subp.run(["ctest", "-C", "Release",
"--parallel %i" % WindowsMake.NPROC, "--output-on-failure",
])
"--parallel %i" % WindowsMake.NPROC, "--output-on-failure"],
env={"PATH": _PATH})
return test_prc
def pack(dirs:BuildDirs):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment