Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangjie
OpenXG-RAN
Commits
7de74e85
Commit
7de74e85
authored
Jun 05, 2016
by
Rohit Gupta
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Gitlab CI: minor fixes
parent
4486328e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
8 deletions
+7
-8
cmake_targets/autotests/run_exec_lte-softmodem_tests.py
cmake_targets/autotests/run_exec_lte-softmodem_tests.py
+7
-8
No files found.
cmake_targets/autotests/run_exec_lte-softmodem_tests.py
View file @
7de74e85
...
...
@@ -29,10 +29,7 @@
# *******************************************************************************/
# \file test01.py
# \brief test 01 for OAI
# \author Navid Nikaein
# \date 2013 - 2015
# \author Rohit Gupta
# \version 0.1
# @ingroup _test
...
...
@@ -1529,9 +1526,8 @@ for testcase in testcaseList:
print
"Now copying files to NFS Share"
oai_localhost
=
openair
(
'localdomain'
,
'localhost'
)
oai_localhost
.
connect
(
user
,
pw
)
cmd
=
'
rm -fr '
+
NFSTestsResultsDir
+
' ;
mkdir -p '
+
NFSTestsResultsDir
cmd
=
' mkdir -p '
+
NFSTestsResultsDir
res
=
oai_localhost
.
send_recv
(
cmd
)
print
"Deleting NFSTestResults Dir..."
+
res
print
"Copying files from GilabCI Runner Machine : "
+
host
+
" .locallogdir = "
+
locallogdir
+
", NFSTestsResultsDir = "
+
NFSTestsResultsDir
SSHSessionWrapper
(
'localhost'
,
user
,
None
,
pw
,
NFSTestsResultsDir
,
locallogdir
,
"put_all"
)
...
...
@@ -1568,12 +1564,15 @@ res=os.system(cmd)
print
"Now copying files to NFS Share"
oai_localhost
=
openair
(
'localdomain'
,
'localhost'
)
oai_localhost
.
connect
(
user
,
pw
)
cmd
=
'
rm -fr '
+
NFSTestsResultsDir
+
' ;
mkdir -p '
+
NFSTestsResultsDir
cmd
=
'mkdir -p '
+
NFSTestsResultsDir
res
=
oai_localhost
.
send_recv
(
cmd
)
print
"Deleting NFSTestResults Dir..."
+
res
print
"Copying files from GilabCI Runner Machine : "
+
host
+
" .locallogdir = "
+
locallogdir
+
", NFSTestsResultsDir = "
+
NFSTestsResultsDir
SSHSessionWrapper
(
'localhost'
,
user
,
None
,
pw
,
NFSTestsResultsDir
,
locallogdir
,
"put_all"
)
cmd
=
"cat "
+
NFSTestsResultsDir
+
"/log/*/*.xml > "
+
NFSTestsResultsDir
+
"/log/results_autotests.xml"
res
=
oai_localhost
.
send_recv
(
cmd
)
oai_localhost
.
disconnect
()
sys
.
exit
()
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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