aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonny Pfannschmidt <Ronny.Pfannschmidt@gmx.de>2012-01-21 21:39:40 +0100
committerRonny Pfannschmidt <Ronny.Pfannschmidt@gmx.de>2012-01-21 21:39:40 +0100
commita92e27b65ea9f1210d19a0351ab08f751246f0c5 (patch)
tree86f4c58c8d2ed2e6913ac805e0f8ced274f0333a /testrunner
parentuse funcargs in the testrunner test to ease having recoverable output (diff)
downloadpypy-a92e27b65ea9f1210d19a0351ab08f751246f0c5.tar.gz
pypy-a92e27b65ea9f1210d19a0351ab08f751246f0c5.tar.bz2
pypy-a92e27b65ea9f1210d19a0351ab08f751246f0c5.zip
fix the remaining testrunner issues
Diffstat (limited to 'testrunner')
-rw-r--r--testrunner/test/test_runner.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/testrunner/test/test_runner.py b/testrunner/test/test_runner.py
index 54e42b35ab..614d5b6777 100644
--- a/testrunner/test/test_runner.py
+++ b/testrunner/test/test_runner.py
@@ -117,6 +117,7 @@ class TestExecuteTest(object):
expected = ['INTERP', 'IARG',
'driver', 'darg',
+ '-p', 'resultlog',
'--resultlog=LOGFILE',
'test_one']
@@ -133,6 +134,7 @@ class TestExecuteTest(object):
expected = ['/wd' + os.sep + './INTERP', 'IARG',
'driver', 'darg',
+ '-p', 'resultlog',
'--resultlog=LOGFILE',
'test_one']
@@ -246,7 +248,7 @@ class RunnerTests(object):
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: