diff options
Diffstat (limited to 'check')
-rw-r--r-- | check/Makefile.am | 1 | ||||
-rwxr-xr-x | check/check-print-options | 5 | ||||
-rw-r--r-- | check/sub/broken.pc | 4 |
3 files changed, 8 insertions, 2 deletions
diff --git a/check/Makefile.am b/check/Makefile.am index f348128..9bef3b4 100644 --- a/check/Makefile.am +++ b/check/Makefile.am @@ -44,6 +44,7 @@ EXTRA_DIST = \ fields-blank.pc \ sub/sub1.pc \ sub/sub2.pc \ + sub/broken.pc \ inst.pc \ inst-uninstalled.pc \ other.pc \ diff --git a/check/check-print-options b/check/check-print-options index a2a41e7..fcd94d6 100755 --- a/check/check-print-options +++ b/check/check-print-options @@ -34,8 +34,9 @@ RESULT="private-dep >= 1" run_test --print-requires-private requires-test # --list-all, limit to a subdirectory -RESULT="sub1 Subdirectory package 1 - Test package 1 for subdirectory -sub2 Subdirectory package 2 - Test package 2 for subdirectory" +RESULT="sub1 Subdirectory package 1 - Test package 1 for subdirectory +sub2 Subdirectory package 2 - Test package 2 for subdirectory +broken Broken package - Module with broken .pc file" PKG_CONFIG_LIBDIR="$srcdir/sub" run_test --list-all # Check handling when multiple incompatible options are set diff --git a/check/sub/broken.pc b/check/sub/broken.pc new file mode 100644 index 0000000..684d027 --- /dev/null +++ b/check/sub/broken.pc @@ -0,0 +1,4 @@ +Name: Broken package +Description: Module with broken .pc file +Version: 1.0 +Name: 2nd name |