projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Test fix: redirect python test subprocess output to /dev/null
[lttng-tools.git]
/
tests
/
regression
/
ust
/
linking
/
test_linking.py
diff --git
a/tests/regression/ust/linking/test_linking.py
b/tests/regression/ust/linking/test_linking.py
index 29128aa29d047266422dac520f4123393a5a519b..7400091e77fc03b3eaf506bb6356e90db36b798c 100644
(file)
--- a/
tests/regression/ust/linking/test_linking.py
+++ b/
tests/regression/ust/linking/test_linking.py
@@
-110,7
+110,7
@@
if DYNAMIC_TEST_ENABLED:
start_session(session_info)
# Dry run, no events should be logged
start_session(session_info)
# Dry run, no events should be logged
- demo_process = subprocess.Popen(test_path + "demo", stdout=subprocess.
PIPE, stderr=subprocess.PIPE
)
+ demo_process = subprocess.Popen(test_path + "demo", stdout=subprocess.
DEVNULL, stderr=subprocess.DEVNULL
)
demo_process.wait()
stop_session(session_info)
demo_process.wait()
stop_session(session_info)
@@
-129,7
+129,7
@@
for executable in test_executables:
enable_ust_tracepoint_event(session_info, "ust_tests_demo*")
start_session(session_info)
enable_ust_tracepoint_event(session_info, "ust_tests_demo*")
start_session(session_info)
- demo_process = subprocess.Popen(executable, stdout=subprocess.
PIPE, stderr=subprocess.PIPE
)
+ demo_process = subprocess.Popen(executable, stdout=subprocess.
DEVNULL, stderr=subprocess.DEVNULL
)
demo_process.wait()
stop_session(session_info)
demo_process.wait()
stop_session(session_info)
This page took
0.0228 seconds
and
4
git commands to generate.