aboutsummaryrefslogtreecommitdiff
path: root/tests/runner.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-06-20 10:45:25 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-06-20 10:45:25 -0700
commit76ac002779493f5402b7db3c0c44461a14c8c543 (patch)
tree73b4d86f3255346ef7369b305f3052ae581b273b /tests/runner.py
parentf2121fe18499cd09b870a1bd8ef5f3259a806d28 (diff)
fix browser test harness
Diffstat (limited to 'tests/runner.py')
-rwxr-xr-xtests/runner.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/runner.py b/tests/runner.py
index 210e5e59..bcd8e84c 100755
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -12698,7 +12698,7 @@ elif 'browser' in str(sys.argv):
src = filename
filename = 'main.cpp'
else:
- with open(filepath) as f: f.read()
+ with open(filepath) as f: src = f.read()
with open(temp_filepath, 'w') as f: f.write(self.with_report_result(src))
else:
expected = [str(i) for i in range(0, reference_slack+1)]