forked from ariadne/pkgconf
24 lines
392 B
Bash
24 lines
392 B
Bash
|
#!/usr/bin/env atf-sh
|
||
|
|
||
|
. $(atf_get_srcdir)/test_env.sh
|
||
|
|
||
|
tests_init \
|
||
|
libs \
|
||
|
ignore
|
||
|
|
||
|
libs_body()
|
||
|
{
|
||
|
export PKG_CONFIG_PATH="${selfdir}/lib1"
|
||
|
atf_check \
|
||
|
-o inline:"-L/test/lib -lconflicts \n" \
|
||
|
pkgconf --libs conflicts
|
||
|
}
|
||
|
|
||
|
ignore_body()
|
||
|
{
|
||
|
export PKG_CONFIG_PATH="${selfdir}/lib1"
|
||
|
atf_check \
|
||
|
-o inline:"-L/test/lib -lconflicts \n" \
|
||
|
pkgconf --ignore-conflicts --libs conflicts
|
||
|
}
|