pacman/test
Andrew Gregory 2d403709d9 allow tests for disabled features to be skipped
Previously, pacman's test suite would fail when compiled without
signature support.

Adds a require_capability method to pmtest objects.  Currently
recognized values are 'gpg', 'curl', and 'nls'; although only gpg is
used presently.  Missing features are indicated by running pactest with
one of the --without-<feature> options.

This modifies pmenv to run each case as independent tests.  Previously,
a single pmenv could run multiple tests, combining there output into
a single TAP stream but making it impossible to properly skip an entire
test case.  This change does not affect running pactest.py with a single
test (as both autotools and meson do), but will affect anybody manually
running pactest.py with multiple tests at once.

Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
2019-01-04 11:10:47 +10:00
..
pacman allow tests for disabled features to be skipped 2019-01-04 11:10:47 +10:00
scripts Add meson.build files to build with meson 2018-11-02 03:16:34 -04:00
util Add meson.build files to build with meson 2018-11-02 03:16:34 -04:00
.gitignore Push down testing .gitignore entries 2014-01-06 14:38:50 +10:00
tap.sh Remove all modelines from the project 2018-05-14 09:59:15 +10:00