summaryrefslogtreecommitdiff
path: root/check
Commit message (Collapse)AuthorAgeFilesLines
...
* 2008-03-23 Tollef Fog Heen <tfheen@err.no>Tollef Fog Heen2008-03-234-2/+24
| | | | | | | | | * check/check-conflicts, check/conflicts-test.pc: New test, testing that conflicts work as they should. * pkg.c (verify_package): Make the conflicts check not only check package versions, but also package names. This makes conflicts functional, something they were not before.
* 2008-03-23 Tollef Fog Heen <tfheen@err.no>Tollef Fog Heen2008-03-231-1/+0
| | | | * check/check-requires-private: Remove unnecessary set -x
* 2008-03-23 Tollef Fog Heen <tfheen@err.no>Tollef Fog Heen2008-03-236-19/+18
| | | | | | | | | * check/check-cflags, check/check-define-variable, check/check-includedir, check/check-libs, check/check-libs-private, check/check-requires-private: Replace the crazy -d ~root check with a more proper way to just make sure we are running under a POSIX shell. Thanks to Kjetil Torgrim Homme for the tip about using getconf PATH.
* 2008-01-16 Tollef Fog Heen <tfheen@err.no>Tollef Fog Heen2008-01-161-2/+3
| | | | | * check/check-requires-private: Fix up test case. We want to get the private -I option in all cases.
* Add includedir testTollef Fog Heen2005-08-273-2/+29
|
* Add solaris workaround for testsTollef Fog Heen2005-08-225-0/+25
| | | | | /bin/sh on solaris isn't POSIX compliant, so we just exec a POSIX shell on Solaris.
* 2005-06-27 Tollef Fog Heen <tfheen@err.no>Arch Librarian2005-07-145-2/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Author: tfheen Date: 2005-06-27 19:53:05 GMT 2005-06-27 Tollef Fog Heen <tfheen@err.no> All those Requires.private changes are thanks to James Henstridge. Thanks! * check/private-dep.pc, check/public-dep.pc, check/requires-test.pc: New files, data for the check-requires-private test. * check/check-requires-private: New test to check for Requires.private support. * check/Makefile.am (EXTRA_DIST, TESTS): Add Requires.private test. * pkg.h (struct _Package): Add requires_private * pkg.c (get_requires_private, fill_list_single_package) (fill_list, verify_package, verify_package, get_merged) (get_merged_from_back, get_multi_merged) (get_multi_merged_from_back, package_get_l_libs) (packages_get_l_libs, package_get_L_libs, packages_get_L_libs) (package_get_other_libs, packages_get_other_libs) (package_get_I_cflags, packages_get_I_cflags) (package_get_other_cflags, packages_get_other_cflags): Handle private requires and cascading changes. * parse.c (parse_requires_private, parse_conflicts) (parse_package_file): Handle Requires.private
* 2005-05-21 Tollef Fog Heen <tfheen@err.no>Arch Librarian2005-07-143-2/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Author: tfheen Date: 2005-05-21 09:14:47 GMT 2005-05-21 Tollef Fog Heen <tfheen@err.no> * check/check-libs-private: New test to check for support for private libraries. * check/simple.pc (prefix): Add Libs.private header. * check/Makefile.am (TESTS): Add check-libs-private test * pkg.h: Adjust function prototypes. * pkg.c: Add global ignore_private_libs variable. (scan_dir): Use the correct free function. Stop leaking file descriptors. (package_get_l_libs, packages_get_l_libs, package_get_L_libs, packages_get_L_libs): Stop the recursive silliness and go back to old behaviour. (packages_get_all_libs): Adjust parameters to packages_get_*_libs (enable_private_libs, disable_private_libs): Trivial helper functions. * pkg-config.1: Update documentation wrt search path (Debian #308942), update docs for Libs.private and add the problematic handling of mixing = and non-= arguments to the bugs section. * parse.h: Adjust parameters for parse_package_file to get private libs or not. * parse.c (trim_and_sub): Fix memory leak. (_do_parse_libs): New function including what's common between parse_libs and parse_private_libs. (parse_libs_private): New function. Handle private libraries. (parse_line): Add . to the list of valid characters in headers (so Libs.private works correctly. (parse_line): Fix memory leaks. (parse_line): Handle Libs.private. (parse_package_file): Fix memory leak. * main.c (main): Fix memory leak. * NEWS: Document changes to inter-library handling. * main.c (main): Handle inter-library dependencies old-style, but do private libraries too. Adjust parameters to packages_get_*_libs. * configure.in: Change comment wrt inter-library handling to talk about private libraries instead.
* 2005-03-29 Tollef Fog Heen <tfheen@err.no>Arch Librarian2005-07-146-0/+70
Author: tfheen Date: 2005-03-29 07:09:37 GMT 2005-03-29 Tollef Fog Heen <tfheen@err.no> * check/check-cflags, check/check-define-variable, check/check-libs, check/common, check/Makefile.am, check/simple.pc: Add simple test framework and begin writing tests. * Makefile.am, configure.in: Make in check/ as well.