From 2d1b412e5b34aa17b6012a484621e8a6e5e10679 Mon Sep 17 00:00:00 2001 From: Robert Hensing Date: Fri, 19 Sep 2025 23:35:31 +0200 Subject: [PATCH] libexpr-tests: Enable when test setup for building succeeds Accidentally disabled by 9bc218ca3fc98889719684abba73b5d8a168cf3c --- src/libexpr-tests/main.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/libexpr-tests/main.cc b/src/libexpr-tests/main.cc index d6b0d0ab9..88a9d6684 100644 --- a/src/libexpr-tests/main.cc +++ b/src/libexpr-tests/main.cc @@ -1,15 +1,19 @@ #include #include "nix/store/tests/test-main.hh" +#include "nix/util/config-global.hh" using namespace nix; int main(int argc, char ** argv) { auto res = testMainForBuidingPre(argc, argv); - if (!res) + if (res) return res; + // For pipe operator tests in trivial.cc + experimentalFeatureSettings.set("experimental-features", "pipe-operators"); + ::testing::InitGoogleTest(&argc, argv); return RUN_ALL_TESTS(); }