Skip to content
Snippets Groups Projects
Commit c21589bd authored by Daniel Savchenko's avatar Daniel Savchenko
Browse files

add stdin/stdout parameters for subprocess

parent 917ad2df
No related branches found
No related tags found
2 merge requests!265Mac fix,!264Mac fix
...@@ -184,7 +184,10 @@ print("Working directory for test execution: " + os.getcwd(), flush=True) ...@@ -184,7 +184,10 @@ print("Working directory for test execution: " + os.getcwd(), flush=True)
# call ctest # call ctest
ctest = subprocess.run( ctest = subprocess.run(
[ctest_executable, "-C", "Debug", "--no-tests=error", "--no-compress-output", "--output-on-failure","--gtest_output=xml:report.xml"]) [ctest_executable, "-C", "Debug", "--no-tests=error", "--no-compress-output", "--output-on-failure","--gtest_output=xml:report.xml"],
stdin=subprocess.DEVNULL,
stdout=subprocess.PIPE,
stderr=subprocess.PIPE)
print("Return Code: ", ctest.returncode) print("Return Code: ", ctest.returncode)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment