]> git.ipfire.org Git - thirdparty/public-inbox.git/commitdiff
test_common: don't needlessly rebuild C++ Xapian helper
authorEric Wong <e@80x24.org>
Fri, 26 Apr 2024 11:29:41 +0000 (11:29 +0000)
committerEric Wong <e@80x24.org>
Sun, 28 Apr 2024 17:05:31 +0000 (17:05 +0000)
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

index b8b7b827c1f148d656058702a1d56d748c245abe..708fa698ae6006c302674edc7dff7411af65df72 100644 (file)
@@ -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};