tests: add some ATF helpers
This commit is contained in:
parent
ddc878ea20
commit
e108b3c499
1 changed files with 13 additions and 0 deletions
13
tests/test_env.sh
Normal file
13
tests/test_env.sh
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
tests_init() {
|
||||||
|
TESTS="$@"
|
||||||
|
export TESTS
|
||||||
|
for t ; do
|
||||||
|
atf_test_case $t
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
atf_init_test_cases() {
|
||||||
|
for t in ${TESTS}; do
|
||||||
|
atf_add_test_case $t
|
||||||
|
done
|
||||||
|
}
|
Loading…
Reference in a new issue