mirror of
https://github.com/NixOS/nix.git
synced 2025-11-09 20:16:03 +01:00
Merge pull request #14029 from roberth/enable-libexpr-tests
libexpr-tests: Enable when test setup for building succeeds
This commit is contained in:
commit
d8d1fb0e34
1 changed files with 5 additions and 1 deletions
|
|
@ -1,15 +1,19 @@
|
||||||
#include <gtest/gtest.h>
|
#include <gtest/gtest.h>
|
||||||
|
|
||||||
#include "nix/store/tests/test-main.hh"
|
#include "nix/store/tests/test-main.hh"
|
||||||
|
#include "nix/util/config-global.hh"
|
||||||
|
|
||||||
using namespace nix;
|
using namespace nix;
|
||||||
|
|
||||||
int main(int argc, char ** argv)
|
int main(int argc, char ** argv)
|
||||||
{
|
{
|
||||||
auto res = testMainForBuidingPre(argc, argv);
|
auto res = testMainForBuidingPre(argc, argv);
|
||||||
if (!res)
|
if (res)
|
||||||
return res;
|
return res;
|
||||||
|
|
||||||
|
// For pipe operator tests in trivial.cc
|
||||||
|
experimentalFeatureSettings.set("experimental-features", "pipe-operators");
|
||||||
|
|
||||||
::testing::InitGoogleTest(&argc, argv);
|
::testing::InitGoogleTest(&argc, argv);
|
||||||
return RUN_ALL_TESTS();
|
return RUN_ALL_TESTS();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue