diff options
author | alon@honor <none@none> | 2010-10-16 20:32:43 -0700 |
---|---|---|
committer | alon@honor <none@none> | 2010-10-16 20:32:43 -0700 |
commit | 2b9dcca362c0dd95db268dbafc73eea4ad09c4de (patch) | |
tree | c92fbf5c5b76c9916efad0608ab5fb7cb30f8c02 /tests/runner.py | |
parent | 8801e53a56f0fdd97a6e78f60637855ebe416194 (diff) |
optimize raytrace demo
Diffstat (limited to 'tests/runner.py')
-rw-r--r-- | tests/runner.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/runner.py b/tests/runner.py index e304c1e9..741cbb91 100644 --- a/tests/runner.py +++ b/tests/runner.py @@ -954,7 +954,8 @@ else: '--formatting', 'PRETTY_PRINT', '--variable_map_output_file', filename + '.vars', '--js', filename + '.o.js', '--js_output_file', filename + '.cc.js'], stdout=PIPE, stderr=STDOUT).communicate()[0] - assert('ERROR' not in cc_output) + if 'ERROR' in cc_output: + raise Exception('Error in cc output: ' + cc_output) # Run global total_times |