Skip to content

Commit 839d50e

Browse files
committed
make speed test fail when one of the test failed.
1 parent b7d83bf commit 839d50e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

code/test.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,3 +149,4 @@ def do_tests():
149149
print >> sys.stderr, 'expected float64/gpu',expected_times_64/gpu_times
150150
print >> sys.stderr, 'expected float32/gpu',expected_times_32/gpu_times
151151

152+
assert not numpy.isnan(gpu_times).any()

0 commit comments

Comments
 (0)