summaryrefslogtreecommitdiff
path: root/check/check-print-options
diff options
context:
space:
mode:
authorDan Nicholson <dbn.lists@gmail.com>2013-05-16 07:03:27 -0700
committerDan Nicholson <dbn.lists@gmail.com>2013-05-17 05:53:13 -0700
commit715cc306b0e4add06523b8fcce49867da469a728 (patch)
tree7fd7573541ebf4d10a01f280176aa26b6aeb58a0 /check/check-print-options
parent2f41b2de42c77b8f44048295a8a3f794711cd4df (diff)
Allow errors in .pc files for --list-all
Normally, the parser will exit immediately when it encounters errors in .pc files. This is good most of the time, but for --list-all, the purpose is to just get a quick list of packages and not to validate .pc files. This is especially the case for pkg-config wrappers such as the Ruby or Bash completion modules that scrape the output from --list-all and don't expect to encounter errors there. Freedesktop #26615 (https://bugs.freedesktop.org/show_bug.cgi?id=26615)
Diffstat (limited to 'check/check-print-options')
-rwxr-xr-xcheck/check-print-options5
1 files changed, 3 insertions, 2 deletions
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