projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Test: add file based synchronization point for python test app
[lttng-tools.git]
/
tests
/
regression
/
ust
/
python-logging
/
test_python_logging.in
diff --git
a/tests/regression/ust/python-logging/test_python_logging.in
b/tests/regression/ust/python-logging/test_python_logging.in
index 90abc116362d7ff7e57a4610c97a2825fe74bc13..42c30572a5b3d64fb1d5dd236cda2d1b6363a140 100755
(executable)
--- a/
tests/regression/ust/python-logging/test_python_logging.in
+++ b/
tests/regression/ust/python-logging/test_python_logging.in
@@
-46,8
+46,17
@@
function run_app
local python=$1
local debug_tp=$2
local fire_second_tp=$3
local python=$1
local debug_tp=$2
local fire_second_tp=$3
+ local opt=""
- $python $TESTAPP_PATH/$TESTAPP_BIN $NR_ITER $NR_SEC_WAIT $debug_tp $fire_second_tp
+ if [[ -n "$debug_tp" ]] && [ "$debug_tp" -eq "1" ]; then
+ opt="${opt} -d"
+ fi
+
+ if [[ -n "$fire_second_tp" ]] && [ "$fire_second_tp" -eq "1" ]; then
+ opt="${opt} -e"
+ fi
+
+ $python $TESTAPP_PATH/$TESTAPP_BIN -n $NR_ITER -s $NR_SEC_WAIT $opt
}
function run_app_background
}
function run_app_background
This page took
0.023386 seconds
and
4
git commands to generate.