mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-26 12:12:13 +03:00
autoconf: use include directives instead of recursing down tests (mostly)
Only down to tests/zfs-tests/tests, but pull out C programs into the main Makefile ‒ this means we get correct dependency tracking for all programs (and parallelise across them) dist diff: -zfs-2.1.99/tests/zfs-tests/tests/stress/ -zfs-2.1.99/tests/zfs-tests/tests/stress/Makefile.am -zfs-2.1.99/tests/zfs-tests/tests/stress/Makefile.in Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Closes #13316
This commit is contained in:
+27
-5
@@ -1,8 +1,30 @@
|
||||
PHONY =
|
||||
include $(top_srcdir)/config/Shellcheck.am
|
||||
include $(srcdir)/%D%/zfs-tests/Makefile.am
|
||||
|
||||
SUBDIRS = runfiles test-runner zfs-tests
|
||||
|
||||
EXTRA_DIST = README.md
|
||||
scripts_test_runner_bindir = $(datadir)/$(PACKAGE)/test-runner/bin
|
||||
scripts_test_runner_bin_SCRIPTS = \
|
||||
%D%/test-runner/bin/test-runner.py \
|
||||
%D%/test-runner/bin/zts-report.py
|
||||
|
||||
SHELLCHECKSCRIPTS += $(shell find $(srcdir) -name '*.sh')
|
||||
SUBSTFILES += $(scripts_test_runner_bin_SCRIPTS)
|
||||
|
||||
|
||||
scripts_test_runner_includedir = $(datadir)/$(PACKAGE)/test-runner/include
|
||||
dist_scripts_test_runner_include_DATA = \
|
||||
%D%/test-runner/include/logapi.shlib
|
||||
|
||||
|
||||
scripts_runfilesdir = $(datadir)/$(PACKAGE)/runfiles
|
||||
dist_scripts_runfiles_DATA = \
|
||||
%D%/runfiles/common.run \
|
||||
%D%/runfiles/freebsd.run \
|
||||
%D%/runfiles/linux.run \
|
||||
%D%/runfiles/longevity.run \
|
||||
%D%/runfiles/perf-regression.run \
|
||||
%D%/runfiles/sanity.run \
|
||||
%D%/runfiles/sunos.run
|
||||
|
||||
|
||||
EXTRA_DIST += $(addprefix %D%/,README.md)
|
||||
|
||||
SHELLCHECKSCRIPTS += $(shell find $(srcdir)/%D% -name '*.sh')
|
||||
|
||||
Reference in New Issue
Block a user