Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
pybind11
Commits
57b52798
Commit
57b52798
authored
Feb 20, 2016
by
Wenzel Jakob
Browse files
fixed run_test script
parent
240e4044
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
example/run_test.py
example/run_test.py
+3
-2
No files found.
example/run_test.py
View file @
57b52798
...
...
@@ -47,10 +47,11 @@ if path != '':
os
.
chdir
(
path
)
if
len
(
sys
.
argv
)
<
2
:
print
(
"Syntax: %s
<example>
[--relaxed]"
%
sys
.
argv
[
0
])
print
(
"Syntax: %s [--relaxed]
<test name>
"
%
sys
.
argv
[
0
])
exit
(
0
)
if
len
(
sys
.
argv
)
==
3
and
sys
.
argv
[
2
]
==
'--relaxed'
:
if
len
(
sys
.
argv
)
==
3
and
sys
.
argv
[
1
]
==
'--relaxed'
:
del
sys
.
argv
[
1
]
relaxed
=
True
name
=
sys
.
argv
[
1
]
...
...
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