summaryrefslogtreecommitdiff
path: root/test cases/unit/94 custominc
diff options
context:
space:
mode:
authorJussi Pakkanen <jussi.pakkanen@mailbox.org>2025-08-01 15:33:41 +0300
committerJussi Pakkanen <jussi.pakkanen@mailbox.org>2025-08-01 16:52:03 +0300
commitbf9ff6e5eee7a5b7bfb2b50b0dc5bf948e87eaae (patch)
treed360be6801ff7b6315c724907c490979f8c7819e /test cases/unit/94 custominc
parent550cf5ebcc395dfa78bfc31ee2abc1550a9ed349 (diff)
downloadmeson-bf9ff6e5eee7a5b7bfb2b50b0dc5bf948e87eaae.tar.gz
Condense test directory names for 1.9.
Diffstat (limited to 'test cases/unit/94 custominc')
-rw-r--r--test cases/unit/94 custominc/easytogrepfor/genh.py7
-rw-r--r--test cases/unit/94 custominc/easytogrepfor/meson.build3
-rw-r--r--test cases/unit/94 custominc/helper.c5
-rw-r--r--test cases/unit/94 custominc/meson.build9
-rw-r--r--test cases/unit/94 custominc/prog.c9
-rw-r--r--test cases/unit/94 custominc/prog2.c10
6 files changed, 0 insertions, 43 deletions
diff --git a/test cases/unit/94 custominc/easytogrepfor/genh.py b/test cases/unit/94 custominc/easytogrepfor/genh.py
deleted file mode 100644
index 48e033a72..000000000
--- a/test cases/unit/94 custominc/easytogrepfor/genh.py
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/usr/bin/env python3
-
-import sys
-
-f = open(sys.argv[1], 'w')
-f.write('#define RETURN_VALUE 0')
-f.close()
diff --git a/test cases/unit/94 custominc/easytogrepfor/meson.build b/test cases/unit/94 custominc/easytogrepfor/meson.build
deleted file mode 100644
index e749753bc..000000000
--- a/test cases/unit/94 custominc/easytogrepfor/meson.build
+++ /dev/null
@@ -1,3 +0,0 @@
-genh = custom_target('header',
- output: 'generated.h',
- command: [find_program('genh.py'), '@OUTPUT@'])
diff --git a/test cases/unit/94 custominc/helper.c b/test cases/unit/94 custominc/helper.c
deleted file mode 100644
index 3237441bc..000000000
--- a/test cases/unit/94 custominc/helper.c
+++ /dev/null
@@ -1,5 +0,0 @@
-#include<generated.h>
-
-int func(void) {
- return RETURN_VALUE;
-}
diff --git a/test cases/unit/94 custominc/meson.build b/test cases/unit/94 custominc/meson.build
deleted file mode 100644
index bab113908..000000000
--- a/test cases/unit/94 custominc/meson.build
+++ /dev/null
@@ -1,9 +0,0 @@
-project('implicit custom dirs', 'c')
-
-subdir('easytogrepfor')
-
-l = static_library('helper', 'helper.c', genh)
-d = declare_dependency(link_with: l, sources: genh)
-executable('prog', 'prog.c', dependencies: d, implicit_include_directories: false)
-
-executable('prog2', 'prog2.c', dependencies: d)
diff --git a/test cases/unit/94 custominc/prog.c b/test cases/unit/94 custominc/prog.c
deleted file mode 100644
index db9df9d5e..000000000
--- a/test cases/unit/94 custominc/prog.c
+++ /dev/null
@@ -1,9 +0,0 @@
-#include<stdlib.h>
-
-int func(void);
-
-int main(int argc, char **argv) {
- (void)argc;
- (void)(argv);
- return func();
-}
diff --git a/test cases/unit/94 custominc/prog2.c b/test cases/unit/94 custominc/prog2.c
deleted file mode 100644
index e64b22919..000000000
--- a/test cases/unit/94 custominc/prog2.c
+++ /dev/null
@@ -1,10 +0,0 @@
-#include<stdlib.h>
-#include<generated.h>
-
-int func(void);
-
-int main(int argc, char **argv) {
- (void)argc;
- (void)(argv);
- return func() + RETURN_VALUE;
-}