diff options
| author | Jussi Pakkanen <jpakkane@gmail.com> | 2013-03-03 20:05:04 +0200 |
|---|---|---|
| committer | Jussi Pakkanen <jpakkane@gmail.com> | 2013-03-03 20:05:04 +0200 |
| commit | 9262fe600ad22180d7e1a5179fa5d4f681b17cb7 (patch) | |
| tree | 8e0cc6f865577c3b90f0b35f41d11eae77986090 /test cases/common/20 array | |
| parent | 83caae1bcb816433d66c6472c701907aa0ec0711 (diff) | |
| download | meson-9262fe600ad22180d7e1a5179fa5d4f681b17cb7.tar.gz | |
Split test suite into common and platform dependent parts.
Diffstat (limited to 'test cases/common/20 array')
| -rw-r--r-- | test cases/common/20 array/func.c | 1 | ||||
| -rw-r--r-- | test cases/common/20 array/meson.build | 6 | ||||
| -rw-r--r-- | test cases/common/20 array/prog.c | 3 |
3 files changed, 10 insertions, 0 deletions
diff --git a/test cases/common/20 array/func.c b/test cases/common/20 array/func.c new file mode 100644 index 000000000..741237235 --- /dev/null +++ b/test cases/common/20 array/func.c @@ -0,0 +1 @@ +int func() { return 0; } diff --git a/test cases/common/20 array/meson.build b/test cases/common/20 array/meson.build new file mode 100644 index 000000000..a3eac90b9 --- /dev/null +++ b/test cases/common/20 array/meson.build @@ -0,0 +1,6 @@ +project('array test', 'c') + +arr = ['func.c', 'prog.c'] + +exe = executable('prog', sources : arr) +add_test('arr test', exe) diff --git a/test cases/common/20 array/prog.c b/test cases/common/20 array/prog.c new file mode 100644 index 000000000..ad58a0b3a --- /dev/null +++ b/test cases/common/20 array/prog.c @@ -0,0 +1,3 @@ +extern int func(); + +int main(int argc, char **argv) { return func(); } |
