aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/cases/phi24_ta2.ll1
-rw-r--r--tests/test_browser.py4
2 files changed, 3 insertions, 2 deletions
diff --git a/tests/cases/phi24_ta2.ll b/tests/cases/phi24_ta2.ll
index 4894d5e6..2d9b6646 100644
--- a/tests/cases/phi24_ta2.ll
+++ b/tests/cases/phi24_ta2.ll
@@ -252,6 +252,7 @@ target triple = "i386-pc-linux-gnu"
@g_287 = internal constant i32 -1, align 4
define i32 @main(i32 %argc, i8** nocapture %argv) nounwind {
+ %msgdummy = alloca { i8*, { i64, i8* } (i8*)* } ; test for parsing of this kind of stuff, compilation-only test
%p_6.i.i = alloca %union.U3, align 8
%1 = icmp eq i32 %argc, 2
br i1 %1, label %2, label %7
diff --git a/tests/test_browser.py b/tests/test_browser.py
index 60c030aa..be2c388b 100644
--- a/tests/test_browser.py
+++ b/tests/test_browser.py
@@ -1056,7 +1056,7 @@ Press any key to continue.'''
server.terminate()
def test_glgears(self):
- self.btest('hello_world_gles.c', reference='gears.png',
+ self.btest('hello_world_gles.c', reference='gears.png', reference_slack=1,
args=['-DHAVE_BUILTIN_SINCOS'], outfile='something.html',
message='You should see animating gears.')
@@ -1079,7 +1079,7 @@ Press any key to continue.'''
self.btest('full_es2_sdlproc.c', '1', args=['-s', 'GL_TESTING=1', '-DHAVE_BUILTIN_SINCOS', '-s', 'FULL_ES2=1'])
def test_glgears_deriv(self):
- self.btest('hello_world_gles_deriv.c', reference='gears.png',
+ self.btest('hello_world_gles_deriv.c', reference='gears.png', reference_slack=1,
args=['-DHAVE_BUILTIN_SINCOS'], outfile='something.html',
message='You should see animating gears.')
with open('something.html') as f: