diff options
author | Eric Wong <e@80x24.org> | 2023-11-28 14:56:19 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2023-11-29 02:13:20 +0000 |
commit | 87b7f633f2414a76c55f84da73cd7dd43f964533 (patch) | |
tree | a1ef018d3bcbd522171abb28971c41a250a917f3 /Makefile.PL | |
parent | a6abd43b2df02f258d5fc3493ce185f76dd98cd9 (diff) | |
download | public-inbox-87b7f633f2414a76c55f84da73cd7dd43f964533.tar.gz |
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.
Diffstat (limited to 'Makefile.PL')
-rw-r--r-- | Makefile.PL | 8 |
1 files changed, 5 insertions, 3 deletions
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 } |