Test more derived paths

This commit is contained in:
John Ericson 2023-10-16 01:45:06 -04:00
parent 97a0c08873
commit 96c58550b8
2 changed files with 10 additions and 1 deletions

View file

@ -72,10 +72,19 @@ VERSIONED_CHARACTERIZATION_TEST(
derivedPath, derivedPath,
"derived-path", "derived-path",
defaultVersion, defaultVersion,
(std::tuple<DerivedPath, DerivedPath> { (std::tuple<DerivedPath, DerivedPath, DerivedPath, DerivedPath> {
DerivedPath::Opaque { DerivedPath::Opaque {
.path = StorePath { "g1w7hy3qg1w7hy3qg1w7hy3qg1w7hy3q-foo" }, .path = StorePath { "g1w7hy3qg1w7hy3qg1w7hy3qg1w7hy3q-foo" },
}, },
DerivedPath::Opaque {
.path = StorePath { "g1w7hy3qg1w7hy3qg1w7hy3qg1w7hy3q-foo.drv" },
},
DerivedPath::Built {
.drvPath = makeConstantStorePathRef(StorePath {
"g1w7hy3qg1w7hy3qg1w7hy3qg1w7hy3q-bar.drv",
}),
.outputs = OutputsSpec::All { },
},
DerivedPath::Built { DerivedPath::Built {
.drvPath = makeConstantStorePathRef(StorePath { .drvPath = makeConstantStorePathRef(StorePath {
"g1w7hy3qg1w7hy3qg1w7hy3qg1w7hy3q-bar.drv", "g1w7hy3qg1w7hy3qg1w7hy3qg1w7hy3q-bar.drv",