aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2011-11-11 14:05:16 -0800
committerAlon Zakai <alonzakai@gmail.com>2011-11-11 14:05:16 -0800
commit5f8bd77f5ceab80f09bf8f200eb541644c41f93d (patch)
treea5f7b903178331e8f8c32def8e85a239a2aa6f56 /tests
parent0d9ef1276e67efdb62e9eacf78529b9b945d548c (diff)
tweak raytrace test
Diffstat (limited to 'tests')
-rw-r--r--tests/runner.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/runner.py b/tests/runner.py
index a3f086f5..475895fe 100644
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -3119,7 +3119,7 @@ if 'benchmark' not in str(sys.argv):
def test_raytrace(self):
if Settings.USE_TYPED_ARRAYS == 2: return self.skip('Relies on double values')
- src = open(path_from_root('tests', 'raytrace.cpp'), 'r').read()
+ src = open(path_from_root('tests', 'raytrace.cpp'), 'r').read().replace('double', 'float')
output = open(path_from_root('tests', 'raytrace.ppm'), 'r').read()
self.do_run(src, output, ['3', '16'])#, build_ll_hook=self.do_autodebug)
@@ -4308,10 +4308,10 @@ TT = %s
for llvm_opts in [0,1]:
for name, compiler, quantum, embetter, typed_arrays in [
- #('clang', CLANG, 1, 0, 0),
- #('clang', CLANG, 4, 0, 0),
- #('clang', CLANG, 1, 1, 1),
- #('clang', CLANG, 4, 1, 1),
+ ('clang', CLANG, 1, 0, 0),
+ ('clang', CLANG, 4, 0, 0),
+ ('clang', CLANG, 1, 1, 1),
+ ('clang', CLANG, 4, 1, 1),
('clang', CLANG, 4, 1, 2),
]:
fullname = '%s_%d_%d%s%s' % (