From 5fa51247a3a40707f36be045e53d95a173b43cc9 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Tue, 20 Aug 2019 10:54:04 +0200 Subject: Add simple test case for block processor ordering Signed-off-by: David Oberhollenzer --- tests/Makemodule.am | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'tests/Makemodule.am') diff --git a/tests/Makemodule.am b/tests/Makemodule.am index 60312dc..6772c14 100644 --- a/tests/Makemodule.am +++ b/tests/Makemodule.am @@ -73,6 +73,15 @@ test_str_table_SOURCES = tests/str_table.c test_str_table_LDADD = libutil.a test_str_table_CPPFLAGS = $(AM_CPPFLAGS) -DTESTPATH=$(top_srcdir)/tests +test_blk_proc_order_SOURCES = tests/blk_proc_order.c +test_blk_proc_order_CPPFLAGS = $(AM_CPPFLAGS) +test_blk_proc_order_CFLAGS = $(AM_CFLAGS) $(PTHREAD_CFLAGS) +test_blk_proc_order_LDADD = libutil.a libcompress.a $(ZLIB_LIBS) $(PTHREAD_LIBS) + +if HAVE_PTHREAD +test_blk_proc_order_CPPFLAGS += -DHAVE_PTHREAD +endif + check_PROGRAMS += test_canonicalize_name test_mknode_simple test_mknode_slink check_PROGRAMS += test_mknode_reg test_mknode_dir test_gen_inode_table check_PROGRAMS += test_add_by_path test_get_path test_fstree_sort @@ -80,6 +89,7 @@ check_PROGRAMS += test_fstree_from_file test_fstree_init test_fstree_xattr check_PROGRAMS += test_tar_ustar test_tar_pax test_tar_gnu test_tar_sparse_gnu check_PROGRAMS += test_tar_sparse_gnu1 test_tar_sparse_gnu2 check_PROGRAMS += test_tar_xattr_bsd test_tar_xattr_schily test_str_table +check_PROGRAMS += test_blk_proc_order TESTS += test_canonicalize_name test_mknode_simple test_mknode_slink TESTS += test_mknode_reg test_mknode_dir test_gen_inode_table @@ -87,6 +97,6 @@ TESTS += test_add_by_path test_get_path test_fstree_sort test_fstree_from_file TESTS += test_fstree_init test_fstree_xattr test_tar_ustar test_tar_pax TESTS += test_tar_gnu test_tar_sparse_gnu test_tar_sparse_gnu1 TESTS += test_tar_sparse_gnu2 test_tar_xattr_bsd test_tar_xattr_schily -TESTS += test_str_table +TESTS += test_str_table test_blk_proc_order EXTRA_DIST += $(top_srcdir)/tests/tar $(top_srcdir)/tests/words.txt -- cgit v1.2.3