aboutsummaryrefslogtreecommitdiff
path: root/tests/runner.py
diff options
context:
space:
mode:
authorEhsan Akhgari <ehsan.akhgari@gmail.com>2012-01-30 20:21:04 -0500
committerEhsan Akhgari <ehsan.akhgari@gmail.com>2012-01-30 20:21:04 -0500
commitf4018dfb9741d111a5358e918e445c5b1b10a370 (patch)
tree74425ff6d052bdeb2e604e9d2b0e769d0cb318d9 /tests/runner.py
parentf10e3e811dee7522e737a93a3db53a5db1cf0b32 (diff)
Make sure that sys/types.h defines old-style C sized types
Diffstat (limited to 'tests/runner.py')
-rwxr-xr-xtests/runner.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/runner.py b/tests/runner.py
index d9953c14..61c98e6b 100755
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -3822,6 +3822,11 @@ def process(filename):
expected = open(path_from_root('tests', 'env', 'output.txt'), 'r').read()
self.do_run(src, expected)
+ def test_systypes(self):
+ src = open(path_from_root('tests', 'systypes', 'src.c'), 'r').read()
+ expected = open(path_from_root('tests', 'systypes', 'output.txt'), 'r').read()
+ self.do_run(src, expected)
+
def test_getloadavg(self):
src = r'''
#include <stdio.h>