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
95e43d4b
Commit
95e43d4b
authored
Mar 04, 2016
by
Rohit Gupta
Browse files
exit on setup error and disable USRP/BladeRF driver installation
parent
58fa110a
Changes
1
Hide whitespace changes
Inline
Side-by-side
cmake_targets/autotests/run_exec_lte-softmodem_tests.py
View file @
95e43d4b
...
...
@@ -1414,12 +1414,12 @@ for oai in oai_list:
cmd
=
cmd
+
'echo
\"
Installing core OAI dependencies...Start
\"
\n
'
cmd
=
cmd
+
'$OPENAIR_DIR/cmake_targets/build_oai -I --install-optional-packages
\n
'
cmd
=
cmd
+
'echo
\"
Installing core OAI dependencies...Finished
\"
\n
'
cmd
=
cmd
+
'echo
\"
Installing BLADERF OAI dependencies...Start
\"
\n
'
cmd
=
cmd
+
'check_install_bladerf_driver
\n
'
cmd
=
cmd
+
'echo
\"
Installing BLADERF OAI dependencies...Finished
\"
\n
'
cmd
=
cmd
+
'echo
\"
Installing USRP OAI dependencies...Start
\"
\n
'
cmd
=
cmd
+
'check_install_usrp_uhd_driver
\n
'
cmd
=
cmd
+
'echo
\"
Installing USRP OAI dependencies...Finished
\"
\n
'
#
cmd = cmd + 'echo \"Installing BLADERF OAI dependencies...Start\" \n'
#
cmd = cmd + 'check_install_bladerf_driver \n'
#
cmd = cmd + 'echo \"Installing BLADERF OAI dependencies...Finished\" \n'
#
cmd = cmd + 'echo \"Installing USRP OAI dependencies...Start\" \n'
#
cmd = cmd + 'check_install_usrp_uhd_driver \n'
#
cmd = cmd + 'echo \"Installing USRP OAI dependencies...Finished\" \n'
cmd
=
cmd
+
'cd '
+
logdirOpenaircnRepo
+
'
\n
'
cmd
=
cmd
+
'git checkout '
+
GitOpenaircnRepoBranch
+
'
\n
'
cmd
=
cmd
+
'env |grep OPENAIR'
+
'
\n
'
...
...
@@ -1476,7 +1476,8 @@ status, out = commands.getstatusoutput('grep ' + ' -il \'error\' ' + locallogdi
if
(
out
!=
''
)
:
print
"There is error in setup of machines"
print
"status = "
+
str
(
status
)
+
"
\n
Check files for error = "
+
out
print
"Continuing..."
print
"Exiting now..."
sys
.
exit
(
1
)
cleanOldProgramsAllMachines
(
oai_list
,
CleanUpOldProgs
,
CleanUpAluLteBox
,
ExmimoRfStop
)
if
cleanUpRemoteMachines
==
True
:
...
...
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