Ariadne Conill
6a5b55740d
tests: fix test regressions caused by tilde changes
2023-01-21 19:25:46 +00:00
Ziemowit Łąski
1c3f246198
pkgconf: Handle spaces correctly when expanding variables
...
Given the following .pc fragment:
includedir=/mingw64/include
Cflags: -I${includedir} -I${includedir}/taglib
Should includedir be assigned the value 'C:/Program\ Files/Git/mingw64/include', the expansion of ${includedir} will be chopped off after the first space:
Cflags: -IC:/Program\
With this patch, the expansion is corrected:
Cflags: -IC:/Program\ Files/Git/mingw64/include -IC:/Program\ Files/Git/mingw64/include/taglib
Create spaces-in-paths.pc
2023-01-20 22:18:26 +00:00
Eli Schwartz
8f233383cd
meson: remove useless command that isn't needed
...
The tests/*.sh are executable in the source tree, and don't need to be
chmodded after being copied to the build tree.
2023-01-20 22:13:21 +00:00
Ariadne Conill
2f51733e34
tests: add regression test for billion-laughs
2023-01-20 22:11:00 +00:00
Ariadne Conill
3e481581ba
add billion-laughs test fixture
2023-01-20 22:01:38 +00:00
Ariadne Conill
dbd78db67f
tests: add regression test for github #259
2022-08-16 19:42:13 +00:00
Ariadne Conill
8764578719
tests: ignore stdout on regress:missing test
2022-08-08 09:26:22 +00:00
Ariadne Conill
884a88583b
tests: add testcase for requires.private debounce
2022-08-08 08:56:53 +00:00
Ariadne Conill
4e8f376c5d
tests: add fixtures for github #258
2022-08-08 05:26:00 +00:00
Ariadne Conill
94b3f118cc
tests: add regression test to catch --modversion regression introduced by new solver
2022-08-08 00:37:07 +00:00
Ariadne Conill
666b520273
tests: add tests for SPDX license assertions
2022-08-07 04:40:31 +00:00
Ariadne Conill
9aa0006c27
tests: improve circular reference tests to make use of the circular reference diagnostic
2022-08-07 01:35:12 +00:00
Dylan Baker
dd779ad9f8
meson: add check to run_command
...
Because we really should be checking that it succeeds, and because not
setting it is deprecated.
2022-08-01 09:40:08 -07:00
Dylan Baker
c04097e491
meson: pass configured files idiomatically
...
Instead of attempting to figure out what the paths will be, take the
returned file object and pass that around, meson will then automatically
figure out the correct paths.
2022-08-01 09:40:08 -07:00
Dylan Baker
06fe2e23b0
meson: use current_source_dir and current_build_dir instead of *_root
...
The latter doesn't work correctly when being used as a subproject, as it
returns the *absolute* root. So if pkgconf is being built as part of
muon, then it will return muon's source root. current_source_dir, on the
other hand returns the directory correctly whether being built as a
subproject or superproject.
2022-08-01 09:40:08 -07:00
Ariadne Conill
f93870efd9
tests: add testcase for legacy FDO rules plus pc_sysrootdir
2022-07-26 18:05:31 +00:00
Ariadne Conill
18e2406002
tests: add omg-sysroot-uninstalled fixture
2022-07-26 18:03:15 +00:00
Ariadne Conill
6c70781aad
introduce PKG_CONFIG_PKGCONF1_SYSROOT_RULES for legacy pkgconf behavior
2022-07-26 18:00:22 +00:00
Ariadne Conill
d9ec3ee642
tests: add testcases for confirming desired sysroot behavior regarding -uninstalled packages
2022-07-26 16:46:39 +00:00
Ariadne Conill
7fa632a658
tests: sysroot: add additional tests
2022-06-26 19:34:54 +00:00
Ariadne Conill
9950312fde
tests: add additional test fixtures
2022-06-26 19:34:39 +00:00
Ariadne Conill
19b1befb5d
add additional sysroot testcase fixtures
2022-06-26 19:21:52 +00:00
Ariadne Conill
623b8f7851
tests: further fixups
2022-06-26 18:56:36 +00:00
Ariadne Conill
ab352222a2
tests: fix up some test changes from the solver optimizations
...
the output of pkgconf is basically functionally equivalent in both cases
2022-06-26 18:22:04 +00:00
Ariadne Conill
bf933903aa
hackfix a couple of flaky tests
2021-10-07 01:29:29 -06:00
Ariadne Conill
a10a88ef64
tests: regress: disable sysroot_munge test for now, not working with distcheck
2021-07-24 20:39:29 -06:00
Sandro Mani
ed86f2dda3
Don't prepend sysroot_dir if pkg-config file lies outside of sysroot_dir
2021-07-24 20:43:58 -05:00
Christoph Reiter
4be39c59fb
Remove usage of cygwin_conv_path() under cygwin/msys
...
This converted Unix paths to Windows paths, but all cygwin tools
work with Unix paths so this shouldn't be needed.
There is one use case if you use a cygwin pkgconf with a non-cygwin toolchain,
but pkgconf works reasonable well natively now so this shouldn't be needed
anymore and more likely leads to problems and confusion.
Both cygwin and msys have patched this out already:
* https://cygwin.com/git-cygwin-packages/?p=git/cygwin-packages/pkgconf.git;a=blob;f=pkgconf.cygport;h=e5d003f3f3dfc9e374b916974018022ad8d68852;hb=HEAD#l55
* a4bce0c294/pkgconf/PKGBUILD (L26)
2021-03-20 06:58:53 -08:00
Ariadne Conill
347281ebfe
tests: add fragment-comment testcase (ref #215 )
2021-03-18 05:39:45 -06:00
Ariadne Conill
d351e6ae59
Revert "tests: remove some no longer relevant bitrot in the test environment file"
...
This reverts commit 107ad34f8f
.
Breaks autoconf.
2019-07-12 08:23:36 -05:00
Ariadne Conill
061627f091
meson: bump required version to 0.47 for copy directive
2019-07-12 08:20:05 -05:00
Ariadne Conill
107ad34f8f
tests: remove some no longer relevant bitrot in the test environment file
2019-07-12 08:19:19 -05:00
Ariadne Conill
3740bfb6d7
tests: add test for malformed versions generating a diagnostic with --validate
2019-07-12 06:42:08 -05:00
Ariadne Conill
a91e0bf215
tests: explicitly test --print-provides with malformed versions
2019-07-12 06:37:46 -05:00
Ariadne Conill
312b4e51a9
tests: add test for malformed version handling
2019-07-12 06:22:41 -05:00
Ariadne Conill
3783d65784
tests: add malformed-version fixture
2019-07-12 06:15:35 -05:00
William Pitcock
9315ee9ee6
tests: add orphaned-requires-private test
2019-01-14 14:07:19 -06:00
William Pitcock
737e326ae1
tests: add orphaned requires.private testcase
2019-01-14 14:04:50 -06:00
William Pitcock
47284486df
regress: add test for empty tuple buffer overflow issue
2018-07-28 19:45:57 -05:00
William Pitcock
8f6e071d58
tests: add test fixture for bogus .pc files
2018-06-16 16:35:19 -05:00
William Pitcock
ae7faf73fd
tests: add testcase for tuple dequoting bug (legacy github bug #186 )
2018-06-14 16:11:21 -05:00
William Pitcock
854a6adfe9
tests: add tuple-quoting fixture
2018-06-14 15:31:00 -05:00
Leorize
f36ccc1d91
libpkgconf: add support for Haiku
...
client: use BELIBRARIES
On Haiku, BELIBRARIES is the equivalent to LIBRARY_PATH on many other
systems, while LIBRARY_PATH is instead the LD_LIBRARY_PATH of Haiku.
pkg: bootstrap package search paths with Haiku's find_paths
This commit adds build_default_pkgconfig_path. The function appends
to the list given the default pkgconfig paths, and will supersede
get_default_pkgconfig_path
2018-04-05 10:02:54 -05:00
William Pitcock
3f753fa3dd
libpkgconf: dependency: preference uncoloured nodes in event of a dependency collision
2018-03-18 19:03:18 -05:00
William Pitcock
9a53290d8a
tests: add new test fixtures for Requires.internal
2018-03-18 18:00:04 -05:00
William Pitcock
f03ec3ff90
libpkgconf: add support for proposed Requires.internal extension
2018-03-18 15:46:53 -05:00
William Pitcock
d4bb96b7f1
tests: add regression test for #172 , closes #172
2018-02-08 14:31:28 -06:00
William Pitcock
1eb866efb2
tests: parser: late-breaking testsuite changes for quoting changes
2018-01-22 15:35:54 -06:00
William Pitcock
d1618ece3a
msvc: add support for converting cflags too
2018-01-05 18:05:47 -06:00
William Pitcock
7cce958d78
msvc: handle quoting correctly for cmd.exe
2018-01-05 11:31:43 -06:00