pkg-config/check
Dan Nicholson 6d6dd43e75 Support circular Requires loops
After the packages are parsed, pkg-config recurses through all the
required packages to generate one list. Before descending another level,
check to see if the package has already been handled and skip it. This
allows packages to require each other circularly by breaking the loop.

A test has been added resolving a two level deep circular dependency.

Freedesktop #7331
2012-10-13 08:14:35 -07:00
..
sub check: Exercise all printing options 2012-09-29 09:57:46 -07:00
check-cflags check: Test all variants of --cflags and --libs 2012-10-03 05:33:31 -07:00
check-circular-requires Support circular Requires loops 2012-10-13 08:14:35 -07:00
check-cmd-options check: Ensure unknown options fail 2012-10-03 05:33:31 -07:00
check-conflicts check: Pass args to test function instead of setting in variable 2012-09-29 08:50:57 -07:00
check-debug check: Ensure debugging output works correctly 2012-10-03 05:33:31 -07:00
check-define-variable check: Test --define-variable corner cases 2012-09-29 09:09:30 -07:00
check-idirafter check: Pass args to test function instead of setting in variable 2012-09-29 08:50:57 -07:00
check-includedir check: Pass args to test function instead of setting in variable 2012-09-29 08:50:57 -07:00
check-libs check: Test all variants of --cflags and --libs 2012-10-03 05:33:31 -07:00
check-libs-private check: Pass args to test function instead of setting in variable 2012-09-29 08:50:57 -07:00
check-missing check: Pass args to test function instead of setting in variable 2012-09-29 08:50:57 -07:00
check-non-l-flags Consistently resolve requires depth-first to fix non-l flag ordering 2012-10-13 08:14:35 -07:00
check-path check: Check path handling 2012-10-02 05:51:22 -07:00
check-print-options check: Test pkg-config version 2012-10-02 05:51:22 -07:00
check-requires-private Consistently resolve requires depth-first to fix non-l flag ordering 2012-10-13 08:14:35 -07:00
check-requires-version check: Test version comparisons within Requires fields 2012-10-03 05:33:32 -07:00
check-sysroot check: Test sysroot support 2012-10-03 05:33:31 -07:00
check-uninstalled check: Test -uninstalled functionality 2012-10-03 05:33:31 -07:00
check-version check: Test pkg-config version 2012-10-02 05:51:22 -07:00
check-whitespace check: Pass args to test function instead of setting in variable 2012-09-29 08:50:57 -07:00
circular-1.pc Support circular Requires loops 2012-10-13 08:14:35 -07:00
circular-2.pc Support circular Requires loops 2012-10-13 08:14:35 -07:00
circular-3.pc Support circular Requires loops 2012-10-13 08:14:35 -07:00
common check: Pass args to test function instead of setting in variable 2012-09-29 08:50:57 -07:00
config.sh.in check: Test pkg-config version 2012-10-02 05:51:22 -07:00
conflicts-test.pc 2008-03-23 Tollef Fog Heen <tfheen@err.no> 2008-03-23 21:39:07 +01:00
fields-blank.pc Add test case for empty fields 2010-05-27 22:23:40 +02:00
idirafter.pc Handle -idirafter specially 2010-05-09 09:43:10 +02:00
includedir.pc Add includedir test 2005-08-27 09:05:14 +00:00
inst-uninstalled.pc check: Test -uninstalled functionality 2012-10-03 05:33:31 -07:00
inst.pc check: Test -uninstalled functionality 2012-10-03 05:33:31 -07:00
Makefile.am Support circular Requires loops 2012-10-13 08:14:35 -07:00
missing-requires-private.pc 2009-03-30 Tollef Fog Heen <tfheen@err.no> 2009-03-30 20:40:53 +02:00
missing-requires.pc 2009-03-30 Tollef Fog Heen <tfheen@err.no> 2009-03-30 20:49:17 +02:00
non-l-required.pc Consistently resolve requires depth-first to fix non-l flag ordering 2012-10-13 08:14:35 -07:00
non-l.pc Consistently resolve requires depth-first to fix non-l flag ordering 2012-10-13 08:14:35 -07:00
other.pc check: Test all variants of --cflags and --libs 2012-10-03 05:33:31 -07:00
private-dep.pc 2005-06-27 Tollef Fog Heen <tfheen@err.no> 2005-07-14 13:07:31 +00:00
public-dep.pc Consistently resolve requires depth-first to fix non-l flag ordering 2012-10-13 08:14:35 -07:00
requires-test.pc check: Enhance --print-requires tests 2012-10-02 05:51:22 -07:00
requires-version-1.pc check: Test version comparisons within Requires fields 2012-10-03 05:33:32 -07:00
requires-version-2.pc check: Test version comparisons within Requires fields 2012-10-03 05:33:32 -07:00
requires-version-3.pc check: Test version comparisons within Requires fields 2012-10-03 05:33:32 -07:00
simple.pc 2005-05-21 Tollef Fog Heen <tfheen@err.no> 2005-07-14 13:07:18 +00:00
whitespace.pc Allow $() through unescaped. 2011-04-13 22:02:51 +02:00