Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
Pyston
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
Pyston
Commits
a3196dd0
Commit
a3196dd0
authored
May 01, 2015
by
Kevin Modzelewski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add gflags test
parent
610be9f5
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
0 deletions
+24
-0
.gitmodules
.gitmodules
+3
-0
test/integration/gflags
test/integration/gflags
+1
-0
test/integration/gflags_test.py
test/integration/gflags_test.py
+20
-0
No files found.
.gitmodules
View file @
a3196dd0
...
...
@@ -16,3 +16,6 @@
[submodule "test/integration/pycrypto"]
path = test/integration/pycrypto
url = https://github.com/dlitz/pycrypto.git
[submodule "test/integration/gflags"]
path = test/integration/gflags
url = https://github.com/google/python-gflags
gflags
@
1569dd1f
Subproject commit 1569dd1f3855abd262ea3a7741527d4413b35bc9
test/integration/gflags_test.py
0 → 100644
View file @
a3196dd0
import
glob
import
subprocess
,
sys
,
os
gflags_dir
=
os
.
path
.
dirname
(
os
.
path
.
abspath
(
__file__
))
+
"/gflags"
os
.
chdir
(
gflags_dir
)
env
=
os
.
environ
env
[
"PYTHONPATH"
]
=
"."
TESTS_DIR
=
"tests"
for
fn
in
glob
.
glob
(
"%s/*.py"
%
TESTS_DIR
):
# We don't support xml.dom.minidom yet
if
"helpxml_test.py"
in
fn
:
print
"Skipping"
,
fn
continue
print
"Running"
,
fn
subprocess
.
check_call
([
sys
.
executable
,
fn
])
print
"-- Tests finished"
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