|
|
std::filesystem::path | goldenMaster (std::string_view testStem) const override |
| void | exportRefGraphSubpathTest (std::string_view stem, const Derivation &drv, const StructuredAttrs *parsed) |
| void | resolveExpect (std::string_view stem, const Derivation &drv, const BuildTrace &buildTrace, const BasicDerivation &expected) |
|
|
EnableExperimentalFeature | caFeature {"ca-derivations"} |
◆ caFloatingOutput()
Just here because we do this a few times in a tests.
◆ exportRefGraphSubpathTest()
Helper for the exportReferencesGraph + placeholder subpath tests.
Test that derivationOptionsFromStructuredAttrs can parse exportReferencesGraph entries that reference a CA derivation output with a subpath appended (e.g. ${dep}/foo), and that the parsed options resolve correctly.
Regression test for #15003: the placeholder + subpath was not found in the placeholder map (exact-match only), and the fallback to toStorePath() failed because placeholders don't start with /nix/store/.
◆ makeCallback()
◆ resolveExpect()
Checkpoint before/buildTrace/after and assert the resolved derivation matches expected.
The documentation for this class was generated from the following file:
- /builddir/build/BUILD/nix-2.35.3-build/nix-2.35.3/src/libstore-tests/derivations.cc