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
alex037yang
OpenXG-RAN
Commits
f5351535
Commit
f5351535
authored
Feb 04, 2016
by
Rohit Gupta
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
commits to modify test case config file for TDD (oaisim tests)
parent
bb346de6
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
70 additions
and
44 deletions
+70
-44
cmake_targets/autotests/test_case_list.xml
cmake_targets/autotests/test_case_list.xml
+66
-42
cmake_targets/autotests/tools/search_repl.py
cmake_targets/autotests/tools/search_repl.py
+4
-2
No files found.
cmake_targets/autotests/test_case_list.xml
View file @
f5351535
This diff is collapsed.
Click to expand it.
cmake_targets/autotests/tools/search_repl.py
View file @
f5351535
#!/usr/bin/python
import
sys
import
re
import
os
#Arg 1 name of file
#Arg 2 keyword
#arg 3 replacement text
#Note that these should be seperated by spaces
if
len
(
sys
.
argv
)
!=
4
:
print
"search_repl.py: Wrong number of arguments. This program needs 3 arguments
"
print
"search_repl.py: Wrong number of arguments. This program needs 3 arguments
. The number of arguments supplied : "
+
str
(
sys
.
argv
)
sys
.
exit
()
filename
=
sys
.
argv
[
1
]
filename
=
os
.
path
.
expandvars
(
sys
.
argv
[
1
])
keyword
=
sys
.
argv
[
2
]
replacement_text
=
sys
.
argv
[
3
]
file
=
open
(
filename
,
'r'
)
string
=
file
.
read
()
file
.
close
()
...
...
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