From fac2a191fd211fda9309dd63fac4eae0e6f03589 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 26 Apr 2024 11:29:41 +0000 Subject: test_common: don't needlessly rebuild C++ Xapian helper We should almost always be calling `check_build' instead of `build'. Using ccache masked some of the overhead from this, but various linker implementations are still slow. --- lib/PublicInbox/TestCommon.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/PublicInbox/TestCommon.pm') diff --git a/lib/PublicInbox/TestCommon.pm b/lib/PublicInbox/TestCommon.pm index b8b7b827..708fa698 100644 --- a/lib/PublicInbox/TestCommon.pm +++ b/lib/PublicInbox/TestCommon.pm @@ -726,7 +726,7 @@ SKIP: { require File::Path; eval { # use XDG_CACHE_HOME, first: require PublicInbox::XapHelperCxx; - PublicInbox::XapHelperCxx::build(); + PublicInbox::XapHelperCxx::check_build(); }; local %ENV = %ENV; delete $ENV{XDG_DATA_HOME}; -- cgit v1.2.3-24-ge0c7