about summary refs log tree commit homepage
path: root/t
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2023-12-13 00:50:12 +0000
committerEric Wong <e@80x24.org>2023-12-13 09:01:50 +0000
commit769deabdc7db27026f555576e87eac7ca1f19afd (patch)
tree3b8442c435856c3077450e96f2c188054610bec8 /t
parente3444977887f7615cef271341f29f3a87a36eac9 (diff)
downloadpublic-inbox-769deabdc7db27026f555576e87eac7ca1f19afd.tar.gz
We don't actually need Inline::C support to build a standalone
executable implemented in C++.
Diffstat (limited to 't')
-rw-r--r--t/xap_helper.t6
1 files changed, 4 insertions, 2 deletions
diff --git a/t/xap_helper.t b/t/xap_helper.t
index be010c75..0f474608 100644
--- a/t/xap_helper.t
+++ b/t/xap_helper.t
@@ -149,8 +149,10 @@ unless ($ENV{TEST_XH_CXX_ONLY}) {
         no_pollerfd($ar->{pid});
 }
 SKIP: {
-        require PublicInbox::XapHelperCxx;
-        my $cmd = eval { PublicInbox::XapHelperCxx::cmd() };
+        my $cmd = eval {
+                require PublicInbox::XapHelperCxx;
+                PublicInbox::XapHelperCxx::cmd();
+        };
         skip "XapHelperCxx build: $@", 1 if $@;
 
         @NO_CXX = $ENV{TEST_XH_CXX_ONLY} ? (0) : (0, 1);