tests: add test for no packages being supplied to the frontend

feature/tap-sh
William Pitcock 2012-09-14 14:46:52 -05:00
parent 6bb75554e2
commit 0d18735e3f
1 changed files with 2 additions and 0 deletions

View File

@ -44,6 +44,8 @@ run_test() {
selfdir=$(cd "$(dirname "${0}")"; pwd)
# 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" \
'-lfoo'
run_test "PKG_CONFIG_PATH=${selfdir}/lib1 ${1} --cflags --libs foo" \