From af1a266670d040d2f4083ff309d732d648afba2a Mon Sep 17 00:00:00 2001 From: Angelos Mouzakitis Date: Tue, 10 Oct 2023 14:33:42 +0000 Subject: Add submodule dependency files Change-Id: Iaf8d18082d3991dec7c0ebbea540f092188eb4ec --- meson/test cases/common/93 suites/subprojects/sub/meson.build | 7 +++++++ meson/test cases/common/93 suites/subprojects/sub/sub1.c | 6 ++++++ meson/test cases/common/93 suites/subprojects/sub/sub2.c | 6 ++++++ 3 files changed, 19 insertions(+) create mode 100644 meson/test cases/common/93 suites/subprojects/sub/meson.build create mode 100644 meson/test cases/common/93 suites/subprojects/sub/sub1.c create mode 100644 meson/test cases/common/93 suites/subprojects/sub/sub2.c (limited to 'meson/test cases/common/93 suites/subprojects') diff --git a/meson/test cases/common/93 suites/subprojects/sub/meson.build b/meson/test cases/common/93 suites/subprojects/sub/meson.build new file mode 100644 index 000000000..697d95f1c --- /dev/null +++ b/meson/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/meson/test cases/common/93 suites/subprojects/sub/sub1.c b/meson/test cases/common/93 suites/subprojects/sub/sub1.c new file mode 100644 index 000000000..e06762443 --- /dev/null +++ b/meson/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/meson/test cases/common/93 suites/subprojects/sub/sub2.c b/meson/test cases/common/93 suites/subprojects/sub/sub2.c new file mode 100644 index 000000000..0b457dc01 --- /dev/null +++ b/meson/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 1.2.3-korg