diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2017-12-19 21:10:52 -0800 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2018-01-06 13:49:34 -0800 |
commit | 0ec7dd5ac53b0a6955ecce65c011a5d06631bd94 (patch) | |
tree | 7f4566fcd01c8ad27a4b78fb5eaf23409bf7dde0 /test cases/objc | |
parent | 87742fd9f016873fcd9d91ef8bc4c3b1be925224 (diff) | |
download | meson-0ec7dd5ac53b0a6955ecce65c011a5d06631bd94.zip meson-0ec7dd5ac53b0a6955ecce65c011a5d06631bd94.tar.gz meson-0ec7dd5ac53b0a6955ecce65c011a5d06631bd94.tar.bz2 |
tests: Split objc and objc++ tests
This allows platforms that can compile one or the other (but not both)
to run the tests that they can.
Diffstat (limited to 'test cases/objc')
-rw-r--r-- | test cases/objc/3 objc args/meson.build (renamed from test cases/objc/4 objc args/meson.build) | 0 | ||||
-rw-r--r-- | test cases/objc/3 objc args/prog.m (renamed from test cases/objc/4 objc args/prog.m) | 0 | ||||
-rw-r--r-- | test cases/objc/3 objc++/meson.build | 4 | ||||
-rw-r--r-- | test cases/objc/3 objc++/prog.mm | 9 | ||||
-rw-r--r-- | test cases/objc/5 objc++ args/meson.build | 4 | ||||
-rw-r--r-- | test cases/objc/5 objc++ args/prog.mm | 16 |
6 files changed, 0 insertions, 33 deletions
diff --git a/test cases/objc/4 objc args/meson.build b/test cases/objc/3 objc args/meson.build index 8887d96..8887d96 100644 --- a/test cases/objc/4 objc args/meson.build +++ b/test cases/objc/3 objc args/meson.build diff --git a/test cases/objc/4 objc args/prog.m b/test cases/objc/3 objc args/prog.m index bfd686a..bfd686a 100644 --- a/test cases/objc/4 objc args/prog.m +++ b/test cases/objc/3 objc args/prog.m diff --git a/test cases/objc/3 objc++/meson.build b/test cases/objc/3 objc++/meson.build deleted file mode 100644 index 7d91884..0000000 --- a/test cases/objc/3 objc++/meson.build +++ /dev/null @@ -1,4 +0,0 @@ -project('Objective C++', 'objcpp') - -exe = executable('objcppprog', 'prog.mm') -test('objcpp', exe) diff --git a/test cases/objc/3 objc++/prog.mm b/test cases/objc/3 objc++/prog.mm deleted file mode 100644 index 927e810..0000000 --- a/test cases/objc/3 objc++/prog.mm +++ /dev/null @@ -1,9 +0,0 @@ -#import<stdio.h> - -class MyClass { -}; - -int main(int argc, char **argv) { - return 0; -} - diff --git a/test cases/objc/5 objc++ args/meson.build b/test cases/objc/5 objc++ args/meson.build deleted file mode 100644 index e0e34b0..0000000 --- a/test cases/objc/5 objc++ args/meson.build +++ /dev/null @@ -1,4 +0,0 @@ -project('objective c++ args', 'objcpp') - -exe = executable('prog', 'prog.mm', objcpp_args : ['-DMESON_OBJCPP_TEST']) -test('objective c++ args', exe) diff --git a/test cases/objc/5 objc++ args/prog.mm b/test cases/objc/5 objc++ args/prog.mm deleted file mode 100644 index 3decaf2..0000000 --- a/test cases/objc/5 objc++ args/prog.mm +++ /dev/null @@ -1,16 +0,0 @@ -#import<stdio.h> - -class TestClass -{ -}; - -int main(int argc, char **argv) -{ -#ifdef MESON_OBJCPP_TEST -int x = 1; -#endif - - printf("x = %x\n", x); - - return 0; -} |