testsuite: use @PACKAGE_VERSION@ for pkg-config module checks

feature/tap-sh
William Pitcock 2015-09-03 03:30:43 -05:00
parent 2bd655985a
commit f99d2e8832
1 changed files with 1 additions and 1 deletions

View File

@ -159,7 +159,7 @@ run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --libs incomplete" \
# 6) tests for builtins # 6) tests for builtins
run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --modversion pkg-config" \ run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --modversion pkg-config" \
'0.28' '@PACKAGE_VERSION@'
run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --variable=prefix foo" \ run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --variable=prefix foo" \
'/test' '/test'
run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --define-variable=prefix=/test2 --variable=prefix foo" \ run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --define-variable=prefix=/test2 --variable=prefix foo" \