tests: add test for pkg-config builtin virtual package

feature/tap-sh
William Pitcock 2012-05-05 21:59:24 -05:00
parent b17771d3f1
commit 0f92df0a09
1 changed files with 4 additions and 0 deletions

View File

@ -74,6 +74,10 @@ run_test "PKG_CONFIG_PATH=${selfdir}/lib1 ${1} --libs argv-parse" \
run_test "PKG_CONFIG_PATH=${selfdir}/lib1 ${1} --variable=includedir foo" \
'/usr/include'
# 6) tests for builtins
run_test "PKG_CONFIG_PATH=${selfdir}/lib1 ${1} --modversion pkg-config" \
'0.26'
if [ ${failed} -gt 0 ]; then
echo "${failed} of ${done} tests failed. See output for details." >&2
exit 1