good_simulation_practices/tests/run_all_tests

27 lines
444 B
Plaintext
Raw Permalink Normal View History

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