xref: /freebsd/sys/contrib/openzfs/tests/zfs-tests/Makefile.am (revision 9f44a47fd07924afc035991af15d84e6585dea4f)
1SUBDIRS += %D%/tests
2
3include $(srcdir)/%D%/cmd/Makefile.am
4
5
6scripts_zfs_tests_functional_libzfsdir = $(datadir)/$(PACKAGE)/zfs-tests/tests/functional/libzfs
7scripts_zfs_tests_functional_libzfs_PROGRAMS = %D%/tests/functional/libzfs/many_fds
8%C%_tests_functional_libzfs_many_fds_LDADD = \
9	libzfs.la
10
11scripts_zfs_tests_functional_hkdfdir = $(datadir)/$(PACKAGE)/zfs-tests/tests/functional/hkdf
12scripts_zfs_tests_functional_hkdf_PROGRAMS = %D%/tests/functional/hkdf/hkdf_test
13%C%_tests_functional_hkdf_hkdf_test_LDADD = \
14	libzpool.la
15
16if BUILD_LINUX
17scripts_zfs_tests_functional_tmpfiledir = $(datadir)/$(PACKAGE)/zfs-tests/tests/functional/tmpfile
18scripts_zfs_tests_functional_tmpfile_PROGRAMS = \
19	%D%/tests/functional/tmpfile/tmpfile_001_pos \
20	%D%/tests/functional/tmpfile/tmpfile_002_pos \
21	%D%/tests/functional/tmpfile/tmpfile_003_pos \
22	%D%/tests/functional/tmpfile/tmpfile_stat_mode \
23	%D%/tests/functional/tmpfile/tmpfile_test
24endif
25
26
27scripts_zfs_tests_callbacksdir = $(datadir)/$(PACKAGE)/zfs-tests/callbacks
28dist_scripts_zfs_tests_callbacks_SCRIPTS = \
29	%D%/callbacks/zfs_dbgmsg.ksh \
30	%D%/callbacks/zfs_dmesg.ksh \
31	%D%/callbacks/zfs_failsafe.ksh \
32	%D%/callbacks/zfs_mmp.ksh
33
34
35scripts_zfs_tests_includedir = $(datadir)/$(PACKAGE)/zfs-tests/include
36dist_scripts_zfs_tests_include_DATA = \
37	%D%/include/blkdev.shlib \
38	%D%/include/commands.cfg \
39	%D%/include/libtest.shlib \
40	%D%/include/math.shlib \
41	%D%/include/properties.shlib \
42	%D%/include/tunables.cfg \
43	%D%/include/zpool_script.shlib
44
45nodist_scripts_zfs_tests_include_DATA = \
46	%D%/include/default.cfg
47
48SUBSTFILES += $(nodist_scripts_zfs_tests_include_DATA)
49