nix/mk/debug-test.sh

15 lines
188 B
Bash
Raw Normal View History

#!/usr/bin/env bash
set -eu -o pipefail
test=$1
init=${2-}
dir="$(dirname "${BASH_SOURCE[0]}")"
source "$dir/common-test.sh"
if [ -n "$init" ]; then
(init_test)
fi
run_test_proper