diff --git a/tests/lib1/incomplete.pc b/tests/lib1/incomplete.pc new file mode 100644 index 0000000..40f0d91 --- /dev/null +++ b/tests/lib1/incomplete.pc @@ -0,0 +1,4 @@ +Name: incomplete +Description: incomplete package without CFLAGS/LIBS entries (freedesktop #54271) +Version: 1.2.3 + diff --git a/tests/run.sh.in b/tests/run.sh.in index 9b10d65..46bd9ed 100644 --- a/tests/run.sh.in +++ b/tests/run.sh.in @@ -114,6 +114,8 @@ run_test "PKG_CONFIG_PATH=${selfdir}/lib1 ${1} --libs-only-L --libs-only-l cflag '-lfoo' run_test "PKG_CONFIG_PATH=${selfdir}/lib1 ${1} --cflags-only-I --cflags-only-other cflags-libs-only" \ '-I/usr/local/include' +run_test "PKG_CONFIG_PATH=${selfdir}/lib1 ${1} --libs incomplete; echo $?" \ + '0' # 6) tests for builtins run_test "PKG_CONFIG_PATH=${selfdir}/lib1 ${1} --modversion pkg-config" \