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