From 226f8616de18a37264b12cd7dc60ebed269bcb1d Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Wed, 24 Aug 2016 11:21:40 -0500 Subject: [PATCH] tests: add a test for --print-provides (#95) --- tests/run.sh.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/run.sh.in b/tests/run.sh.in index d8e7464..25481c1 100644 --- a/tests/run.sh.in +++ b/tests/run.sh.in @@ -286,6 +286,9 @@ run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --cflags prefix-foo1 prefix-foo run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --variable=typelibdir --define-variable='libdir=\${libdir}' typelibdir" \ "\${libdir}/typelibdir" +run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} --print-provides foo" \ + "foo = 1.2.3" + # 10) tests for internal getopt implementation with options at the end if [ "x@STRICT_MODE@" = "xno" ]; then run_test "PKG_CONFIG_PATH='${selfdir}/lib1' ${1} foo --libs" \