summaryrefslogtreecommitdiffstats
path: root/tests/tests.mk
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2024-02-01 12:11:41 -0500
committerTavian Barnes <tavianator@tavianator.com>2024-02-03 13:50:08 -0500
commit4d0d84f935159c395ccf3b95d5727a3553003b68 (patch)
treeb2db29ab66d4ac6d88ee9f1e94598e34996718f2 /tests/tests.mk
parentc4334184502c25a41b5cab060681229b2b570c0a (diff)
downloadbfs-4d0d84f935159c395ccf3b95d5727a3553003b68.tar.xz
tests: Implement jobserver inheritance
Diffstat (limited to 'tests/tests.mk')
-rw-r--r--tests/tests.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/tests.mk b/tests/tests.mk
new file mode 100644
index 0000000..5bf4f6c
--- /dev/null
+++ b/tests/tests.mk
@@ -0,0 +1,7 @@
+# Copyright © Tavian Barnes <tavianator@tavianator.com>
+# SPDX-License-Identifier: 0BSD
+
+# GNU makefile that exposes make's job control to tests.sh
+
+tests/%:
+ bash -c 'printf . >&$(READY) && read -r -N1 -u$(DONE)'