[pacman-dev] [PATCH 4/4] allow tests for disabled features to be skipped

Allan McRae allan at archlinux.org
Fri Jan 4 01:13:21 UTC 2019


On 23/12/18 4:24 pm, Andrew Gregory wrote:
> 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 at gmail.com>

OK.   Pulled entire patch series.

Allan


More information about the pacman-dev mailing list