diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-01-27 12:22:22 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-01-27 12:22:22 -0800 |
commit | 8d01c6c720b1ef3bf0d4e255f2a6e75caa3cd313 (patch) | |
tree | 72602688adf420f0de76ab732a6b3fcfd21bce6d | |
parent | c2374217f3d403eb52e14982951ecfd0ab535a13 (diff) |
test fixes
-rw-r--r-- | tests/cases/phiself.py | 3 | ||||
-rwxr-xr-x | tests/runner.py | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/tests/cases/phiself.py b/tests/cases/phiself.py index db08f82a..14cf8e21 100644 --- a/tests/cases/phiself.py +++ b/tests/cases/phiself.py @@ -1,2 +1,3 @@ -assert '$phi' not in generated, 'we should optimize out self-phis' +if Settings.MICRO_OPTS: + assert '$phi' not in generated, 'we should optimize out self-phis' diff --git a/tests/runner.py b/tests/runner.py index 1664de07..4cdd14f8 100755 --- a/tests/runner.py +++ b/tests/runner.py @@ -4430,7 +4430,7 @@ def process(filename): shortname = name.replace('.ll', '') if '' not in shortname: continue if '_ta2' in shortname and not Settings.USE_TYPED_ARRAYS == 2: - print self.skip('case only relevant for ta2') + print self.skip('case "%s" only relevant for ta2' % shortname) continue print >> sys.stderr, "Testing case '%s'..." % shortname output_file = path_from_root('tests', 'cases', shortname + '.txt') |