Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
pyodide
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
pyodide
Commits
02905d8c
Commit
02905d8c
authored
Aug 17, 2018
by
Roman Yurchak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Show pytest report for skipped tests, XFAIL, XPASS
parent
22ecc348
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
Makefile
Makefile
+1
-1
test/python_tests.txt
test/python_tests.txt
+2
-2
test/test_python.py
test/test_python.py
+4
-4
No files found.
Makefile
View file @
02905d8c
...
...
@@ -99,7 +99,7 @@ build/renderedhtml.css: src/renderedhtml.less
test
:
all build/test.html build/test_data.txt
py.test
test
-v
--instafail
py.test
test
-v
-
r
sxX
-
-instafail
build/test_data.txt
:
test/data.txt
...
...
test/python_tests.txt
View file @
02905d8c
...
...
@@ -25,8 +25,8 @@
# - crash: The Python interpreter just stopped without a traceback. Will require
# further investigation. This usually seems to be caused by calling into a
# system function that doesn't behave as one would expect.
# - crash
_
chrome: Same as crash but only affecting Chrome
# - crash
_
firefox: Same as crash but only affecting Firefox
# - crash
-
chrome: Same as crash but only affecting Chrome
# - crash
-
firefox: Same as crash but only affecting Firefox
test___all__
test___future__
...
...
test/test_python.py
View file @
02905d8c
...
...
@@ -285,16 +285,16 @@ def test_open_url(selenium):
@
pytest
.
mark
.
flaky
(
reruns
=
2
)
def
test_run_core_python_test
(
python_test
,
selenium
,
request
):
selenium
.
load_package
(
'test'
)
name
,
error_flags
=
python_test
driver_name
=
(
selenium
.
__class__
.
__name__
.
replace
(
'Wrapper'
,
''
).
lower
())
if
(
'crash'
in
error_flags
or
'crash
_
'
+
driver_name
in
error_flags
):
'crash
-
'
+
driver_name
in
error_flags
):
request
.
applymarker
(
pytest
.
mark
.
xfail
(
run
=
False
,
reason
=
'known failure with code "{}"'
.
format
(
error_flags
)))
.
format
(
','
.
join
(
error_flags
))))
selenium
.
load_package
(
'test'
)
try
:
selenium
.
run
(
"from test.libregrtest import main
\
n
"
...
...
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