aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2014-06-20 15:57:40 -0700
committerAlon Zakai <alonzakai@gmail.com>2014-06-20 15:57:40 -0700
commitab0d908c5e56cf1668921edbe6e192821f8bca3c (patch)
tree852eb788212ce6177d1b0c0f252ee35b662d44a8
parent70d55a83f110cce35e721e5d415cf7252c0558af (diff)
support also_proxied without reftesting
-rwxr-xr-xtests/runner.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/runner.py b/tests/runner.py
index b4bafd74..8d9de0a3 100755
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -709,10 +709,11 @@ class BrowserCore(RunnerCore):
os.mkdir('normal')
shutil.copyfile('test.html', os.path.join('normal', 'test.html'))
shutil.copyfile('test.js', os.path.join('normal', 'test.js'))
- assert not manual_reference
- manual_reference = True
- assert not post_build
- post_build = self.post_manual_reftest
+ if reference:
+ assert not manual_reference
+ manual_reference = True
+ assert not post_build
+ post_build = self.post_manual_reftest
# run proxied
self.btest(filename, expected, reference, force_c, reference_slack, manual_reference, post_build, original_args + ['--proxy-to-worker', '-s', 'GL_TESTING=1'], outfile, message)