aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xrun_tests.py4
-rw-r--r--test cases/osx/1 basic/main.c5
-rw-r--r--test cases/osx/1 basic/meson.build3
3 files changed, 10 insertions, 2 deletions
diff --git a/run_tests.py b/run_tests.py
index 039712f..0a4e3e4 100755
--- a/run_tests.py
+++ b/run_tests.py
@@ -81,9 +81,9 @@ def run_tests():
os.mkdir(install_dir)
except OSError:
pass
- print('Running common tests.')
+ print('\nRunning common tests.\n')
[run_test(t) for t in commontests]
- print('Running platform dependent tetss')
+ print('\nRunning platform dependent tests.\n')
[run_test(t) for t in platformtests]
if __name__ == '__main__':
diff --git a/test cases/osx/1 basic/main.c b/test cases/osx/1 basic/main.c
new file mode 100644
index 0000000..2417ad8
--- /dev/null
+++ b/test cases/osx/1 basic/main.c
@@ -0,0 +1,5 @@
+#include <CoreFoundation/CoreFoundation.h>
+
+int main(int argc, char **argv) {
+ return 0;
+}
diff --git a/test cases/osx/1 basic/meson.build b/test cases/osx/1 basic/meson.build
new file mode 100644
index 0000000..e9f1c91
--- /dev/null
+++ b/test cases/osx/1 basic/meson.build
@@ -0,0 +1,3 @@
+project('osx fundamentals', 'c')
+e = executable('prog', 'main.c')
+add_test('basic', e)