1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-09 20:16:03 +01:00

Revert "Disable rapidcheck tests"

This reverts commit 628fd08d19.
This commit is contained in:
Robert Hensing 2023-07-03 17:29:12 +02:00
parent 628fd08d19
commit 98460d566b
5 changed files with 0 additions and 10 deletions

View file

@ -10,7 +10,6 @@ namespace nix {
// Testing of trivial expressions // Testing of trivial expressions
class DerivedPathExpressionTest : public LibExprTest {}; class DerivedPathExpressionTest : public LibExprTest {};
#if 0
// FIXME: `RC_GTEST_FIXTURE_PROP` isn't calling `SetUpTestSuite` because it is // FIXME: `RC_GTEST_FIXTURE_PROP` isn't calling `SetUpTestSuite` because it is
// no a real fixture. // no a real fixture.
// //
@ -62,6 +61,5 @@ RC_GTEST_FIXTURE_PROP(
}; };
RC_ASSERT(DerivedPath { b } == d); RC_ASSERT(DerivedPath { b } == d);
} }
#endif
} /* namespace nix */ } /* namespace nix */

View file

@ -111,7 +111,6 @@ Gen<NixStringContextElem> Arbitrary<NixStringContextElem>::arbitrary()
namespace nix { namespace nix {
#if 0
RC_GTEST_PROP( RC_GTEST_PROP(
NixStringContextElemTest, NixStringContextElemTest,
prop_round_rip, prop_round_rip,
@ -119,6 +118,5 @@ RC_GTEST_PROP(
{ {
RC_ASSERT(o == NixStringContextElem::parse(o.to_string())); RC_ASSERT(o == NixStringContextElem::parse(o.to_string()));
} }
#endif
} }

View file

@ -49,7 +49,6 @@ class DerivedPathTest : public LibStoreTest
// no a real fixture. // no a real fixture.
// //
// See https://github.com/emil-e/rapidcheck/blob/master/doc/gtest.md#rc_gtest_fixture_propfixture-name-args // See https://github.com/emil-e/rapidcheck/blob/master/doc/gtest.md#rc_gtest_fixture_propfixture-name-args
#if 0
TEST_F(DerivedPathTest, force_init) TEST_F(DerivedPathTest, force_init)
{ {
} }
@ -69,6 +68,5 @@ RC_GTEST_FIXTURE_PROP(
{ {
RC_ASSERT(o == DerivedPath::parse(*store, o.to_string(*store))); RC_ASSERT(o == DerivedPath::parse(*store, o.to_string(*store)));
} }
#endif
} }

View file

@ -224,7 +224,6 @@ Gen<OutputsSpec> Arbitrary<OutputsSpec>::arbitrary()
namespace nix { namespace nix {
#if 0
RC_GTEST_PROP( RC_GTEST_PROP(
OutputsSpec, OutputsSpec,
prop_round_rip, prop_round_rip,
@ -232,6 +231,5 @@ RC_GTEST_PROP(
{ {
RC_ASSERT(o == OutputsSpec::parse(o.to_string())); RC_ASSERT(o == OutputsSpec::parse(o.to_string()));
} }
#endif
} }

View file

@ -134,7 +134,6 @@ Gen<StorePath> Arbitrary<StorePath>::arbitrary()
namespace nix { namespace nix {
#if 0
RC_GTEST_FIXTURE_PROP( RC_GTEST_FIXTURE_PROP(
StorePathTest, StorePathTest,
prop_regex_accept, prop_regex_accept,
@ -150,6 +149,5 @@ RC_GTEST_FIXTURE_PROP(
{ {
RC_ASSERT(p == store->parseStorePath(store->printStorePath(p))); RC_ASSERT(p == store->parseStorePath(store->printStorePath(p)));
} }
#endif
} }