From c21589bd5b2285c152424ac1aac8c25c73f54449 Mon Sep 17 00:00:00 2001
From: Daniel Savchenko <dsavchenko@carlos.informatik.rwth-aachen.de>
Date: Fri, 11 Oct 2024 20:09:05 +0200
Subject: [PATCH] add stdin/stdout parameters for subprocess

---
 tests/run_tests.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/tests/run_tests.py b/tests/run_tests.py
index 096a5ef1..36685f5c 100644
--- a/tests/run_tests.py
+++ b/tests/run_tests.py
@@ -184,7 +184,10 @@ print("Working directory for test execution: " + os.getcwd(), flush=True)
 
 # call ctest
 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)
 
-- 
GitLab