pkgconf/tests/framework.sh

21 lines
477 B
Bash
Raw Permalink Normal View History

2016-09-18 20:48:13 +00:00
#!/usr/bin/env atf-sh
. $(atf_get_srcdir)/test_env.sh
tests_init \
libs
libs_body()
{
export PKG_CONFIG_PATH="${selfdir}/lib1"
atf_check \
-o inline:"-F/test/lib -framework framework-1\n" \
2016-09-18 20:48:13 +00:00
pkgconf --libs framework-1
atf_check \
-o inline:"-F/test/lib -framework framework-2 -framework framework-1\n" \
2016-09-18 20:48:13 +00:00
pkgconf --libs framework-2
atf_check \
-o inline:"-F/test/lib -framework framework-2 -framework framework-1\n" \
2016-09-18 20:48:13 +00:00
pkgconf --libs framework-1 framework-2
}