mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-10-31 06:31:20 +00:00
lib/path/tests: Add --show-trace
This should help troubleshoot errors. Fyi --eval is just a flag, not an option with a value.
This commit is contained in:
parent
1a84e8428a
commit
050e7e29aa
@ -24,8 +24,9 @@ pkgs.runCommand "lib-path-tests" {
|
|||||||
export TEST_LIB=$PWD/lib
|
export TEST_LIB=$PWD/lib
|
||||||
|
|
||||||
echo "Running unit tests lib/path/tests/unit.nix"
|
echo "Running unit tests lib/path/tests/unit.nix"
|
||||||
nix-instantiate --eval lib/path/tests/unit.nix \
|
nix-instantiate --eval --show-trace \
|
||||||
--argstr libpath "$TEST_LIB"
|
--argstr libpath "$TEST_LIB" \
|
||||||
|
lib/path/tests/unit.nix
|
||||||
|
|
||||||
echo "Running property tests lib/path/tests/prop.sh"
|
echo "Running property tests lib/path/tests/prop.sh"
|
||||||
bash lib/path/tests/prop.sh ${toString seed}
|
bash lib/path/tests/prop.sh ${toString seed}
|
||||||
|
Loading…
Reference in New Issue
Block a user