Skip to content
Permalink
Browse files
note about tests with special compiles.
  • Loading branch information
samrushing committed Mar 16, 2017
1 parent 3c22692 commit a8af08711fdcf0d1e2b4d3f8480ebdcb7bd8bb18
Showing with 2 additions and 1 deletion.
  1. +2 −1 util/run_tests.py
@@ -89,9 +89,10 @@ def test_t_vm():
path = os.path.join ('tests', file)
print 'compiling', path
fail = file.startswith ('f')
# XXX need to make 'special' tests such that they can compile with
# custom flags (e.g. t_stl).
code = system ('self/compile %s' % (path,))
print 'code=', code
# need to address the return codes from the compiler...
if code == 0:
if fail:
failed.append ((base, 'compile did not fail like expected'))

0 comments on commit a8af087

Please sign in to comment.