diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-01-13 13:33:43 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-01-13 13:33:43 -0800 |
commit | fb0508c183c0e5a9fcd6fc13e394e36e9c983cf4 (patch) | |
tree | 2a48f29a54e7d6ce71ae097b4cd78527ad6c47be /tests/runner.py | |
parent | 14b42a9d07fd82543d883e94eddc8ab627aed30d (diff) |
add testcase with big switch for #781
Diffstat (limited to 'tests/runner.py')
-rwxr-xr-x | tests/runner.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/runner.py b/tests/runner.py index 3340ad64..7c0edcbe 100755 --- a/tests/runner.py +++ b/tests/runner.py @@ -3347,6 +3347,13 @@ def process(filename): ''' self.do_run(src, '*96,97,98,-14,-14,101*') + def test_bigswitch(self): + src = open(path_from_root('tests', 'bigswitch.cpp')).read() + self.do_run(src, '''34962: GL_ARRAY_BUFFER (0x8892) +26214: what? +35040: GL_STREAM_DRAW (0x88E0) +''', args=['34962', '26214', '35040']) + def test_indirectbr(self): src = ''' #include <stdio.h> |