mirror of
https://github.com/NixOS/nix
synced 2025-07-06 21:41:48 +02:00
Turn derivation unit tests into unit characterization tests
The brings a number of advantages, including: - Easier to update test data if design changes (and I do think our derivation JSON is not yet complaint with the guidelines). - Easier to reuse test data in other implementations, inching closer to compliance tests for Nix *the concept* rather than any one implementation.
This commit is contained in:
parent
232e236672
commit
a419b61497
17 changed files with 228 additions and 155 deletions
1
unit-test-data/libstore/derivation/simple.drv
Normal file
1
unit-test-data/libstore/derivation/simple.drv
Normal file
|
@ -0,0 +1 @@
|
|||
Derive([],[("/nix/store/c015dhfh5l0lp6wxyvdn7bmwhbbr6hr9-dep2.drv",["cat","dog"])],["/nix/store/c015dhfh5l0lp6wxyvdn7bmwhbbr6hr9-dep1"],"wasm-sel4","foo",["bar","baz"],[("BIG_BAD","WOLF")])
|
Loading…
Add table
Add a link
Reference in a new issue