tests/run-tests.sh: print examples before running
This eases debugging example failures.
This commit is contained in:
parent
5f1bb2a8fc
commit
450de19803
@ -305,13 +305,14 @@ buildable() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
examples() {
|
examples() {
|
||||||
script="
|
script='
|
||||||
set -e
|
set -e
|
||||||
./deploy-container.sh
|
runExample() { echo; echo Running example $1; ./$1; }
|
||||||
./deploy-container-minimal.sh
|
runExample deploy-container.sh
|
||||||
./deploy-qemu-vm.sh
|
runExample deploy-container-minimal.sh
|
||||||
./deploy-krops.sh
|
runExample deploy-qemu-vm.sh
|
||||||
"
|
runExample deploy-krops.sh
|
||||||
|
'
|
||||||
(cd "$scriptDir/../examples" && nix-shell --run "$script")
|
(cd "$scriptDir/../examples" && nix-shell --run "$script")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user