pkg-config/check
Stefano Sabatini 9a6c72edca pkg: reintroduce less aggressive flags deduplication
Stripping non-consecutives options was dropped in 9adfd9ebfc, in
order to prevent the alteration of the command semantics.

To mitigate cases when the generated flags list is too long, the
deduplication is reintroduced but limited only to a few cases (-L, -l,
-I) for which semantics is not altered by a repetition of the same
flag.

Address issue:
https://gitlab.freedesktop.org/pkg-config/pkg-config/-/issues/75
2022-11-21 10:42:31 +01:00
..
dependencies Improve performance of package list expansion 2016-08-22 14:34:30 -07:00
gtk Add a gtk testcase to provide something with complex interactions 2012-11-28 05:59:49 -08:00
pkgconfig Don't override empty prefix setting 2016-08-30 09:41:54 -07:00
sort Test ordering of flags based on package depth and path 2012-11-28 05:52:06 -08:00
sub Allow errors in .pc files for --list-all 2013-05-17 05:53:13 -07:00
check-cflags Allow all combinations of --cflags and --libs variants 2012-11-03 11:07:59 -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 Silence errors by default with --list-all 2013-05-17 05:49:02 -07:00
check-define-variable check: Test --define-variable corner cases 2012-09-29 09:09:30 -07:00
check-dependencies Improve performance of package list expansion 2016-08-22 14:34:30 -07:00
check-duplicate-flags pkg: reintroduce less aggressive flags deduplication 2022-11-21 10:42:31 +01:00
check-gtk pkg: reintroduce less aggressive flags deduplication 2022-11-21 10:42:31 +01:00
check-includedir check: Pass args to test function instead of setting in variable 2012-09-29 08:50:57 -07:00
check-libs Output -L Libs flags before other Libs flags 2012-12-04 13:04:57 -08: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 Explicitly set --exists as the default option 2012-12-11 11:59:40 -08:00
check-mixed-flags Output -L Libs flags before other Libs flags 2012-12-04 13:04:57 -08:00
check-non-l-flags Start from end of package lists when processing Requires 2012-12-03 07:08:20 -08:00
check-path Run cmd through Wine when available 2013-04-09 05:45:40 -07:00
check-print-options pkg: Make ordering of output from print_package_list() deterministic 2019-04-03 13:04:38 +01:00
check-relocatable Don't override empty prefix setting 2016-08-30 09:41:54 -07:00
check-requires-private Start from end of package lists when processing Requires 2012-12-03 07:08:20 -08:00
check-requires-version check: Test version comparisons within Requires fields 2012-10-03 05:33:32 -07:00
check-sort-order Adjust PKG_CONFIG_PATH for tests correctly on Windows 2013-04-09 05:45:07 -07:00
check-special-flags Respect sysroot for -isystem and -idirafter 2017-03-20 07:13:23 -05:00
check-sysroot Respect sysroot for -isystem and -idirafter 2017-03-20 07:13:23 -05:00
check-system-flags pkg: Check INCLUDE environment variable for MSVC 2017-03-20 11:34:02 -05:00
check-tilde check: Make check-tilde executable like all other test scripts 2013-04-20 08:38:02 -07:00
check-uninstalled check: Test -uninstalled functionality 2012-10-03 05:33:31 -07:00
check-variable-override Allow overriding package variables with env vars 2016-01-29 14:32:24 -08:00
check-variables check: More thoroughly test variable usage 2016-02-26 08:56:52 -08:00
check-version Enforce that only the first --atleast/exact/max-version option honored 2012-12-11 11:59:40 -08:00
check-whitespace check: More thoroughly test variable usage 2016-02-26 08:56:52 -08: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: Define all useful build directories in config.sh 2013-05-17 05:13:15 -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
flag-dup-1.pc Test stripping of duplicate flags 2012-11-28 05:52:13 -08:00
flag-dup-2.pc Test stripping of duplicate flags 2012-11-28 05:52:13 -08: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 check: Add test for system flags pruning 2017-03-20 11:06:00 -05: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
no-variables.pc Don't crash on --print-variables when there are no variables 2012-10-13 09:06:18 -07: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
pcfiledir.pc check: Test relocatable features 2013-05-17 05:13:15 -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
sort-order-1-1.pc Test ordering of flags based on package depth and path 2012-11-28 05:52:06 -08:00
sort-order-1-2.pc Test ordering of flags based on package depth and path 2012-11-28 05:52:06 -08:00
sort-order-1-3.pc Test ordering of flags based on package depth and path 2012-11-28 05:52:06 -08:00
special-flags.pc check: Add more flags to the special-flags test 2017-03-20 07:13:23 -05:00
system.pc check: Add test for system flags pruning 2017-03-20 11:06:00 -05:00
tilde.pc Allow ~ through unescaped 2012-12-08 12:11:55 -08:00
variables.pc check: More thoroughly test variable usage 2016-02-26 08:56:52 -08:00
whitespace.pc Allow $() through unescaped. 2011-04-13 22:02:51 +02:00