Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
oai
openairinterface5G
Commits
23822ea2
Commit
23822ea2
authored
Sep 22, 2016
by
Rohit Gupta
Browse files
send SIGINT before processes are killed in test setup
parent
fea3c34b
Changes
1
Hide whitespace changes
Inline
Side-by-side
cmake_targets/autotests/run_exec_lte-softmodem_tests.py
View file @
23822ea2
...
...
@@ -313,7 +313,7 @@ def SSHSessionWrapper(machine, username, key_file, password, logdir_remote, logd
# \param CleanUpAluLteBox program to terminate AlU Bell Labs LTE Box
# \param ExmimoRfStop String to stop EXMIMO card (specified in test_case_list.xml)
def
cleanOldPrograms
(
oai
,
programList
,
CleanUpAluLteBox
,
ExmimoRfStop
,
logdir
,
logdirOAI5GRepo
):
cmd
=
'sudo -E killall -9 -q -r '
+
programList
cmd
=
'sudo -E killall
-s INT -q -r '
+
programList
+
' ; sleep 5 ; sudo -E killall
-9 -q -r '
+
programList
result
=
oai
.
send
(
cmd
,
True
)
print
"Killing old programs..."
+
result
programArray
=
programList
.
split
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment