From c0245f54a94f4b78fdfb0633a12be01fb8b6122a Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Sun, 6 May 2012 00:12:00 -0500 Subject: [PATCH] tests: add test for pkg-config /path/to/pc.file --flags syntax --- tests/run.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/run.sh b/tests/run.sh index 9775488..3ab0853 100644 --- a/tests/run.sh +++ b/tests/run.sh @@ -53,6 +53,8 @@ run_test "PKG_CONFIG_PATH=${selfdir}/lib1 ${1} --uninstalled 'foo'; echo \$?" \ '1' run_test "PKG_CONFIG_PATH=${selfdir}/lib1 ${1} --uninstalled 'omg'; echo \$?" \ '0' +run_test "${1} ${selfdir}/lib1/foo.pc --modversion" \ + '1.2.3' # 2) tests for PKG_CONFIG_PATH order run_test "PKG_CONFIG_PATH=${selfdir}/lib1:${selfdir}/lib2 ${1} --libs foo" \