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
cfae3194
Commit
cfae3194
authored
May 20, 2016
by
Kevin Modzelewski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Oh it wasn't an issue, we were just passing more tests than expected
parent
20232797
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
test/extra/cffi_test.py
test/extra/cffi_test.py
+3
-2
No files found.
test/extra/cffi_test.py
View file @
cfae3194
# Note: the expected counts here are set to match the CI, and I can't re[rpduce them locally
import
os
,
sys
,
subprocess
,
shutil
import
os
,
sys
,
subprocess
,
shutil
sys
.
path
.
append
(
os
.
path
.
dirname
(
__file__
)
+
"/../lib"
)
sys
.
path
.
append
(
os
.
path
.
dirname
(
__file__
)
+
"/../lib"
)
...
@@ -24,9 +25,9 @@ def install_and_test_cffi():
...
@@ -24,9 +25,9 @@ def install_and_test_cffi():
# looks like clang 3.5 causes more errors like: 214 != -42 doing casts
# looks like clang 3.5 causes more errors like: 214 != -42 doing casts
if
os
.
environ
.
has_key
(
"CC"
)
and
"clang"
in
os
.
environ
[
"CC"
]:
if
os
.
environ
.
has_key
(
"CC"
)
and
"clang"
in
os
.
environ
[
"CC"
]:
expected
=
[{
"failed"
:
58
,
"passed"
:
1619
,
"skipped"
:
70
,
"xfailed"
:
4
,
"error"
:
5
}]
expected
=
[{
"failed"
:
34
,
"passed"
:
1643
,
"skipped"
:
70
,
"xfailed"
:
4
,
"error"
:
5
}]
else
:
else
:
expected
=
[{
"failed"
:
49
,
"passed"
:
1628
,
"skipped"
:
70
,
"xfailed"
:
4
,
"error"
:
5
}]
expected
=
[{
"failed"
:
25
,
"passed"
:
1652
,
"skipped"
:
70
,
"xfailed"
:
4
,
"error"
:
5
}]
run_test
([
PYTEST_EXE
],
cwd
=
CFFI_DIR
,
expected
=
expected
)
run_test
([
PYTEST_EXE
],
cwd
=
CFFI_DIR
,
expected
=
expected
)
create_virtenv
(
ENV_NAME
,
[
"pytest==2.8.7"
,
"py==1.4.31"
,
"pycparser==2.14"
],
force_create
=
True
)
create_virtenv
(
ENV_NAME
,
[
"pytest==2.8.7"
,
"py==1.4.31"
,
"pycparser==2.14"
],
force_create
=
True
)
...
...
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