Commit Graph

54 Commits (5b8e59f036bb1b2a0abbd580898774390751c352)

Author SHA1 Message Date
William Pitcock 52b58ce5f5 tests: regress: add another test case for -idirafter ordering (noticed on pkg-config bugzilla) 2016-12-30 20:25:02 -06:00
William Pitcock 951a844c94 tests: add tests for the fragment mergeback changes 2016-12-30 12:45:29 -06:00
William Pitcock ad1e414dee libpkgconf: fragment: handle -idirafter in the same way as -isystem
(https://bugs.freedesktop.org/show_bug.cgi?id=97337)
2016-12-30 02:47:42 -06:00
William Pitcock 9a89bd051d testsuite: add a test for #99 2016-10-25 14:03:25 -05:00
William Pitcock c81f72bf3c tests: provides: provide a PKG_CMP_NOT_EQUAL dependency node 2016-09-09 14:45:33 -05:00
William Pitcock 892a03cd8c pkg: fill in a lot of the fuzzy matching stuff (but some of it may be wrong, needs to be looked at) 2016-09-09 01:04:26 -05:00
William Pitcock d304d9cb2e pkg: add support for 'simple' Provides rule entries (#95) 2016-09-08 22:10:24 -05:00
William Pitcock 21c7355ca8 testsuite: improve --print-provides test by adding a provides.pc file 2016-08-26 21:36:18 -05:00
William Pitcock 834e21d37e testsuite: add tests for normal fragments and whitespace munging, too (closes #94) 2016-08-24 19:00:10 -05:00
William Pitcock 25b730fbf6 testsuite: add a test for explicit depgraph breakage 2016-05-19 17:37:27 -05:00
William Pitcock c6676e9de4 testsuite: add a test for #87 2016-05-19 16:47:11 -05:00
Baptiste Daroussin 32bd6bd700 Add a regression tests about define-variable 2015-12-07 23:36:45 +01:00
William Pitcock abbd6b06d4 Revert "Merge pull request #81 from dankegel/quotefest"
This reverts commit 42551f6364, reversing
changes made to 938bb9e694.
2015-09-27 16:10:33 -05:00
Dan Kegel d0bbc686bf Add tests for libraries quoted with double quotes, make them pass 2015-09-10 16:49:52 -07:00
Dan Kegel b88808f708 Test escaped space in a library name 2015-09-10 16:36:07 -07:00
William Pitcock d67a04011f testsuite: use /test as an explicit prefix on all tests 2015-07-20 03:10:27 -05:00
Baptiste Daroussin 72c6e9237b Ensure -I is never merged back as well 2015-07-19 23:00:35 +02:00
Baptiste Daroussin 5a8dadafc6 Ensure -L is never merged back 2015-07-19 22:49:36 +02:00
William Pitcock face849e5f tests: fix validation on private-libs-duplication test 2015-05-21 22:14:08 -05:00
William Pitcock b26374a5ad tests: add an additional test for more complicated --static relationships 2015-05-21 22:03:02 -05:00
Baptiste Daroussin 1dc28ba666 testsuite: regression test for parsing comments
Add a test case about a regression that happened when parsing comments
(bug #75)
2015-04-23 22:01:00 +02:00
William Pitcock 1c1c7fcd8e testsuite: fix comments in fields testcase 2015-04-20 09:23:13 -05:00
William Pitcock b700a6cde6 add testcase for comments in fields (grr, nettle) 2015-04-20 09:19:33 -05:00
Baptiste Daroussin ff6c9c963a Add a test for multiline descriptions
Found in tracker-sparql project
2015-02-02 17:29:39 +01:00
Jean-Sébastien Pédron bff5f15d0a Support .pc file without a trailing newline
Some editors write text files without a newline character at the end of
the last line.

Before this change, the main loop in pkg_new_from_file() expected a
newline character at the end of the line and overwrote it with a NUL
character. In the case of the last line in a non-newline-terminated
file, this ate the last character of that line.

Now, the pkg_fgetline() function takes care of returning a line without
the newline character (or the "\r\n" sequence in case of a DOS file
format).
2014-08-02 14:07:25 +02:00
William Pitcock 12ff14f856 fragments: handle sysroot dir munging directly in a smarter way
Previously we just let the tuple system handle it, but pkg-config modules which do not define
variables were able to get by the checks.  While here, check to ensure we do not duplicate the
sysroot dir twice if it is already defined in the pkg-config module file.

Downstream bug: https://bugs.busybox.net/show_bug.cgi?id=5750
2014-07-09 01:23:51 -05:00
William Pitcock c80229c646 tests: add test for #67 2014-07-01 23:30:59 -05:00
William Pitcock 8cf58d7ceb tests: add test for variable case-sensitivity (ref #60) 2014-02-10 23:50:45 +00:00
Tony Theodore dd975df1cb Add test for multiple dependencies on base package 2013-08-24 13:58:41 +10:00
William Pitcock 9d960fb9d4 fragment: use forward-merge for static linking (closes #51) 2013-08-23 03:44:33 +00:00
William Pitcock 2a638d4f32 Add test for Libs.private deduplication (issue #51). 2013-08-23 02:41:59 +00:00
Tony Theodore 1c658f0383 add Cflags.private fragment 2013-08-14 15:36:43 +10:00
William Pitcock 7ecf1e278d tests: add tests for bug #47 2013-03-15 17:12:06 -05:00
William Pitcock 9dc3cbc784 testsuite: add a test for tilde quoting 2013-02-24 07:04:15 -06:00
William Pitcock 2936927008 testsuite: add test for static archives in Libs: 2013-02-24 06:58:51 -06:00
William Pitcock b1949e7706 testsuite: add tests for circular dependencies 2013-02-24 06:42:03 -06:00
William Pitcock beda1fffdd testsuite: add pkg-config files creating an intentional circular dependency 2013-02-24 06:29:53 -06:00
William Pitcock 87d2ec5550 tests: simplify test 17 to remove $(SYSTEM_LIBDIR) fluff 2012-09-14 15:35:18 -05:00
William Pitcock 749a604c70 tests: add test for freedesktop.org bug 54271 2012-09-02 17:46:00 -05:00
Baptiste Daroussin 4eedb041ed if no cflags or libs are defined in .pc just return 0 and output nothing 2012-08-20 22:47:10 +02:00
Baptiste Daroussin ab48da3f33 Keep the backslash when parsing arguments (fixes #35) 2012-08-14 11:12:01 +02:00
Baptiste Daroussin 9a26337507 return 1 and do not output anything a requirement is missing 2012-08-12 12:33:37 +02:00
William Pitcock c80b088711 tests: add tests for issue #34 2012-08-09 17:16:17 -05:00
William Pitcock dde296193f tests: add test for multiline crasher 2012-07-30 01:32:55 -05:00
William Pitcock 197cb9b93f tests: add tests for cflags/libs-only ordering flags 2012-07-25 17:23:21 -05:00
William Pitcock c544e9e052 tests: add test for argv-parse splitting issue with filenames 2012-07-25 17:07:34 -05:00
William Pitcock 5f168493c5 tests: add tests for dpkg-style tilde version comparison rules 2012-07-23 20:53:20 -05:00
William Pitcock 948e219075 tests: add tests for 'conflicts' field (issue #13) 2012-05-11 20:32:32 -05:00
William Pitcock f70555e7ab tests: add tests for --uninstalled option 2012-05-05 23:09:34 -05:00
William Pitcock 1ac3cbd4f9 tests/dos-lineendings: fix committed version 2012-05-05 20:21:16 -05:00