From d1a75019ef48ce1b6993bf634e6a321bbe9a2f2e Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Wed, 18 Mar 2020 19:03:08 +0100 Subject: Add a test case for xxhash32 Technically the code was imported by a third party library, but some modifications have been made. This commit adds a simple test case with some test vectors and expected results that have to match. Signed-off-by: David Oberhollenzer --- tests/Makemodule.am | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'tests/Makemodule.am') diff --git a/tests/Makemodule.am b/tests/Makemodule.am index 8016c83..0d0f26b 100644 --- a/tests/Makemodule.am +++ b/tests/Makemodule.am @@ -10,11 +10,16 @@ test_rbtree_SOURCES = tests/rbtree.c test_rbtree_LDADD = libutil.a libcompat.a test_rbtree_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/lib/sqfs +test_xxhash_SOURCES = tests/xxhash.c +test_xxhash_LDADD = libutil.a libcompat.a +test_xxhash_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/lib/sqfs + test_abi_SOURCES = tests/abi.c test_abi_LDADD = libsquashfs.la check_PROGRAMS += test_canonicalize_name test_str_table test_abi test_rbtree -TESTS += test_canonicalize_name test_str_table test_abi test_rbtree +check_PROGRAMS += test_xxhash +TESTS += test_canonicalize_name test_str_table test_abi test_rbtree test_xxhash if BUILD_TOOLS test_mknode_simple_SOURCES = tests/mknode_simple.c -- cgit v1.2.3