Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
amot
parabix-devel
Commits
6f1162eb
Commit
6f1162eb
authored
5 years ago
by
Rob Cameron
Browse files
Options
Download
Email Patches
Plain Diff
Indentation error fix
parent
f84b16ac
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
QA/greptest.py
QA/greptest.py
+5
-5
No files found.
QA/greptest.py
View file @
6f1162eb
...
...
@@ -251,11 +251,11 @@ if __name__ == '__main__':
if
len
(
args
)
!=
1
:
option_parser
.
print_usage
()
sys
.
exit
(
1
)
if
not
os
.
path
.
exists
(
options
.
datafile_dir
):
os
.
mkdir
(
options
.
datafile_dir
)
if
not
os
.
path
.
isdir
(
options
.
datafile_dir
):
print
(
"Cannot use %s as working test file directory.
\n
"
%
options
.
datafile_dir
)
sys
.
exit
(
1
)
if
not
os
.
path
.
exists
(
options
.
datafile_dir
):
os
.
mkdir
(
options
.
datafile_dir
)
if
not
os
.
path
.
isdir
(
options
.
datafile_dir
):
print
(
"Cannot use %s as working test file directory.
\n
"
%
options
.
datafile_dir
)
sys
.
exit
(
1
)
random
.
seed
(
options
.
random_seed
)
grep_program_under_test
=
args
[
0
]
grep_test_file
=
open
(
os
.
path
.
join
(
QA_dir
,
options
.
testcases
),
'r'
)
...
...
This diff is collapsed.
Click to expand it.
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