From 7b6e527f440cd7e6f8be2b07cee320ee6ca18786 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 29 Apr 2024 06:41:38 +0200 Subject: Adding upstream version 1.0.1. Signed-off-by: Daniel Baumann --- test cases/common/93 suites/exe1.c | 6 ++++++ test cases/common/93 suites/exe2.c | 6 ++++++ test cases/common/93 suites/meson.build | 9 +++++++++ test cases/common/93 suites/subprojects/sub/meson.build | 7 +++++++ test cases/common/93 suites/subprojects/sub/sub1.c | 6 ++++++ test cases/common/93 suites/subprojects/sub/sub2.c | 6 ++++++ 6 files changed, 40 insertions(+) create mode 100644 test cases/common/93 suites/exe1.c create mode 100644 test cases/common/93 suites/exe2.c create mode 100644 test cases/common/93 suites/meson.build create mode 100644 test cases/common/93 suites/subprojects/sub/meson.build create mode 100644 test cases/common/93 suites/subprojects/sub/sub1.c create mode 100644 test cases/common/93 suites/subprojects/sub/sub2.c (limited to 'test cases/common/93 suites') diff --git a/test cases/common/93 suites/exe1.c b/test cases/common/93 suites/exe1.c new file mode 100644 index 0000000..6e32362 --- /dev/null +++ b/test cases/common/93 suites/exe1.c @@ -0,0 +1,6 @@ +#include + +int main(void) { + printf("I am test exe1.\n"); + return 0; +} diff --git a/test cases/common/93 suites/exe2.c b/test cases/common/93 suites/exe2.c new file mode 100644 index 0000000..21a9dd6 --- /dev/null +++ b/test cases/common/93 suites/exe2.c @@ -0,0 +1,6 @@ +#include + +int main(void) { + printf("I am test exe2.\n"); + return 0; +} diff --git a/test cases/common/93 suites/meson.build b/test cases/common/93 suites/meson.build new file mode 100644 index 0000000..2346b5b --- /dev/null +++ b/test cases/common/93 suites/meson.build @@ -0,0 +1,9 @@ +project('multiple test suites', 'c') + +subproject('sub') + +exe1 = executable('exe1', 'exe1.c') +exe2 = executable('exe2', 'exe2.c') + +test('exe1', exe1) +test('exe2', exe2, suite : ['suite2', ['super-special']]) diff --git a/test cases/common/93 suites/subprojects/sub/meson.build b/test cases/common/93 suites/subprojects/sub/meson.build new file mode 100644 index 0000000..697d95f --- /dev/null +++ b/test cases/common/93 suites/subprojects/sub/meson.build @@ -0,0 +1,7 @@ +project('subproject test suites', 'c') + +sub1 = executable('sub1', 'sub1.c') +sub2 = executable('sub2', 'sub2.c') + +test('sub1', sub1) +test('sub2', sub2, suite : 'suite2') diff --git a/test cases/common/93 suites/subprojects/sub/sub1.c b/test cases/common/93 suites/subprojects/sub/sub1.c new file mode 100644 index 0000000..e067624 --- /dev/null +++ b/test cases/common/93 suites/subprojects/sub/sub1.c @@ -0,0 +1,6 @@ +#include + +int main(void) { + printf("I am test sub1.\n"); + return 0; +} diff --git a/test cases/common/93 suites/subprojects/sub/sub2.c b/test cases/common/93 suites/subprojects/sub/sub2.c new file mode 100644 index 0000000..0b457dc --- /dev/null +++ b/test cases/common/93 suites/subprojects/sub/sub2.c @@ -0,0 +1,6 @@ +#include + +int main(void) { + printf("I am test sub2.\n"); + return 0; +} -- cgit v1.2.3