From 0f92df0a09252e432b7a44c7c2a45fb80e8a48b4 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Sat, 5 May 2012 21:59:24 -0500 Subject: [PATCH] tests: add test for pkg-config builtin virtual package --- tests/run.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/run.sh b/tests/run.sh index 0e3d834..7d48f76 100644 --- a/tests/run.sh +++ b/tests/run.sh @@ -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