forked from ariadne/pkgconf
tests: add test for no packages being supplied to the frontend
parent
6bb75554e2
commit
0d18735e3f
|
@ -44,6 +44,8 @@ run_test() {
|
||||||
selfdir=$(cd "$(dirname "${0}")"; pwd)
|
selfdir=$(cd "$(dirname "${0}")"; pwd)
|
||||||
|
|
||||||
# 1) overall 'is it working?' test
|
# 1) overall 'is it working?' test
|
||||||
|
run_test "PKG_CONFIG_PATH=${selfdir}/lib1 ${1}; echo \$?" \
|
||||||
|
'1'
|
||||||
run_test "PKG_CONFIG_PATH=${selfdir}/lib1 ${1} --libs foo" \
|
run_test "PKG_CONFIG_PATH=${selfdir}/lib1 ${1} --libs foo" \
|
||||||
'-lfoo'
|
'-lfoo'
|
||||||
run_test "PKG_CONFIG_PATH=${selfdir}/lib1 ${1} --cflags --libs foo" \
|
run_test "PKG_CONFIG_PATH=${selfdir}/lib1 ${1} --cflags --libs foo" \
|
||||||
|
|
Loading…
Reference in New Issue