xref: /freebsd/sys/contrib/openzfs/tests/zfs-tests/Makefile.am (revision fe75646a0234a261c0013bf1840fdac4acaf0cec)
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
16scripts_zfs_tests_functional_cp_filesdir = $(datadir)/$(PACKAGE)/zfs-tests/tests/functional/cp_files
17scripts_zfs_tests_functional_cp_files_PROGRAMS = %D%/tests/functional/cp_files/seekflood
18
19if BUILD_LINUX
20scripts_zfs_tests_functional_tmpfiledir = $(datadir)/$(PACKAGE)/zfs-tests/tests/functional/tmpfile
21scripts_zfs_tests_functional_tmpfile_PROGRAMS = \
22	%D%/tests/functional/tmpfile/tmpfile_001_pos \
23	%D%/tests/functional/tmpfile/tmpfile_002_pos \
24	%D%/tests/functional/tmpfile/tmpfile_003_pos \
25	%D%/tests/functional/tmpfile/tmpfile_stat_mode \
26	%D%/tests/functional/tmpfile/tmpfile_test
27endif
28
29
30scripts_zfs_tests_callbacksdir = $(datadir)/$(PACKAGE)/zfs-tests/callbacks
31dist_scripts_zfs_tests_callbacks_SCRIPTS = \
32	%D%/callbacks/zfs_dbgmsg.ksh \
33	%D%/callbacks/zfs_dmesg.ksh \
34	%D%/callbacks/zfs_failsafe.ksh \
35	%D%/callbacks/zfs_mmp.ksh
36
37
38scripts_zfs_tests_includedir = $(datadir)/$(PACKAGE)/zfs-tests/include
39dist_scripts_zfs_tests_include_DATA = \
40	%D%/include/blkdev.shlib \
41	%D%/include/commands.cfg \
42	%D%/include/libtest.shlib \
43	%D%/include/math.shlib \
44	%D%/include/properties.shlib \
45	%D%/include/tunables.cfg \
46	%D%/include/zpool_script.shlib
47
48nodist_scripts_zfs_tests_include_DATA = \
49	%D%/include/default.cfg
50
51SUBSTFILES += $(nodist_scripts_zfs_tests_include_DATA)
52