aboutsummaryrefslogtreecommitdiff
path: root/tests/runner.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/runner.py')
-rwxr-xr-xtests/runner.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/runner.py b/tests/runner.py
index 3e31127b..26ae51f5 100755
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -2475,7 +2475,7 @@ def process(filename):
generated = open(os.path.join(self.get_dir(), 'src.cpp.o.js')).read()
if self.emcc_args is None or self.emcc_args == []: # Optimized code is missing the warning comments
assert 'Casting a function pointer type to another with a different number of arguments.' in generated, 'Missing expected warning'
- assert 'void (i32, i32)* ==> void (%struct.point.0*)*' in generated, 'Missing expected warning details'
+ assert 'void (i32, i32)* ==> void (%struct.point*)*' in generated, 'Missing expected warning details'
return
raise Exception('We should not have gotten to here!')
@@ -4538,6 +4538,8 @@ def process(filename):
# print opt, "FAIL"
def test_lua(self):
+ if self.emcc_args is None and Building.LLVM_OPTS: return self.skip('llvm 3.1 and safe llvm opts break lua')
+
try:
os.environ['EMCC_LEAVE_INPUTS_RAW'] = '1'