pkgconf/tests/test_env.sh.in

28 lines
432 B
Bash
Raw Normal View History

2016-09-18 20:48:13 +00:00
export PATH="$(atf_get_srcdir)/../:${PATH}"
selfdir="@abs_top_srcdir@/tests"
PATH_SEP=":"
SYSROOT_DIR="${selfdir}/test"
if [ "$(uname -s)" = "Msys" ]; then
2016-09-18 20:48:13 +00:00
PATH_SEP=";"
fi
2017-01-23 05:21:51 +00:00
prefix="@prefix@"
exec_prefix="@exec_prefix@"
datarootdir="@datarootdir@"
pcpath="@PKGCONFIGDIR@"
2016-09-18 20:48:13 +00:00
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
}