[pypy-commit] pypy pytest: fix the remaining testrunner issues
RonnyPfannschmidt
noreply at buildbot.pypy.org
Sat Jan 21 21:40:09 CET 2012
Author: Ronny Pfannschmidt <Ronny.Pfannschmidt at gmx.de>
Branch: pytest
Changeset: r51610:d423bf345f99
Date: 2012-01-21 21:39 +0100
http://bitbucket.org/pypy/pypy/changeset/d423bf345f99/
Log: fix the remaining testrunner issues
diff --git a/testrunner/test/test_runner.py b/testrunner/test/test_runner.py
--- a/testrunner/test/test_runner.py
+++ b/testrunner/test/test_runner.py
@@ -117,6 +117,7 @@
expected = ['INTERP', 'IARG',
'driver', 'darg',
+ '-p', 'resultlog',
'--resultlog=LOGFILE',
'test_one']
@@ -133,6 +134,7 @@
expected = ['/wd' + os.sep + './INTERP', 'IARG',
'driver', 'darg',
+ '-p', 'resultlog',
'--resultlog=LOGFILE',
'test_one']
@@ -246,7 +248,7 @@
assert '\n' in log
log_lines = log.splitlines()
- assert log_lines[0] == ". test_normal/test_example.py:test_one"
+ assert ". test_normal/test_example.py::test_one" in log_lines
nfailures = 0
noutcomes = 0
for line in log_lines:
More information about the pypy-commit
mailing list