good_simulation_practices/tests/run_all_tests

27 lines
444 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
source ../rtenets
test_init-tree() {
info "running test_init-tree"
init-tree .
check-tree . \
&& info "[✅] passed test_init-tree" \
|| warning "[❌] failed test_init-tree"
}
main() {
readonly PROJECT_NAME="TMP PROJECT"
readonly PROJECT_DESC="TMP DESCRIPTION"
local tmpdir="$(mktemp -d)"
(
cd "${tmpdir}"
test_init-tree
)
}
main "$@"