From 87b7f633f2414a76c55f84da73cd7dd43f964533 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 28 Nov 2023 14:56:19 +0000 Subject: xap_helper: implement mset endpoint for WWW, IMAP, etc... The C++ version will allow us to take full advantage of Xapian's APIs for better queries, and the Perl bindings version can still be advantageous in the future since we'll be able to support timeouts effectively. --- Makefile.PL | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'Makefile.PL') diff --git a/Makefile.PL b/Makefile.PL index 38e030f5..28f8263e 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -273,14 +273,16 @@ pm_to_blib : lib/PublicInbox.pm lib/PublicInbox.pm : FORCE VERSION=\$(VERSION) \$(PERL) -w ./version-gen.perl +XH_TESTS = t/xap_helper.t t/cindex.t + test-asan : pure_all - TEST_XH_CXX_ONLY=1 CXXFLAGS='-O0 -Wall -ggdb3 -fsanitize=address' \\ - prove -bvw t/xap_helper.t + TEST_XH_CXX_ONLY=1 CXXFLAGS='-Wall -ggdb3 -fsanitize=address' \\ + prove -bvw \$(XH_TESTS) VG_OPT = -v --trace-children=yes --track-fds=yes VG_OPT += --leak-check=yes --track-origins=yes test-valgrind : pure_all TEST_XH_CXX_ONLY=1 VALGRIND="valgrind \$(VG_OPT)" \\ - prove -bvw t/xap_helper.t + prove -bvw \$(XH_TESTS) EOF } -- cgit v1.2.3-24-ge0c7