tests: add tests for $(pcfiledir)

feature/tap-sh
William Pitcock 2012-07-21 14:44:38 -05:00
parent b0cdca488e
commit 4d8f2b030f
1 changed files with 2 additions and 0 deletions

View File

@ -97,6 +97,8 @@ run_test "PKG_CONFIG_PATH=${selfdir}/lib1 ${1} --variable=prefix foo" \
'/usr'
run_test "PKG_CONFIG_PATH=${selfdir}/lib1 ${1} --define-variable=prefix=/test --variable=prefix foo" \
'/test'
run_test "PKG_CONFIG_PATH=${selfdir}/lib1 ${1} --variable=pcfiledir foo" \
"${selfdir}/lib1"
# 7) tests for env modifiers
run_test "PKG_CONFIG_PATH=${selfdir}/lib1 PKG_CONFIG_SYSROOT_DIR=/test ${1} --cflags baz" \