selftest: change technique for running specific envs
authorJamie McClymont <jamiemcclymont@catalyst.net.nz>
Thu, 1 Feb 2018 04:46:37 +0000 (17:46 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 21 Feb 2018 06:47:58 +0000 (07:47 +0100)
commit0b63f26bf72e5f5ce5ab6d052bc899375818a235
treef1de060a51019923973c5d4f1ff8f347729efab7
parent962e8a0ea7db79b96dddec06a4bde211eea0d1d6
selftest: change technique for running specific envs

Currently testsuites excluded with --exclude/--include-env are skipped when
encountered in the middle of a run, so they are included in progress reporting,
and the @todo list does not accurately show what will be done.

This change skips them earlier, preventing them from being added to @todo, as is
done with pattern-based including/excluding.

As well as making the progress indicator more accurate, this means that
selftest.pl can use @todo to determine when we are finished with an environment.

Signed-off-by: Jamie McClymont <jamiemcclymont@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Wed Feb 21 07:47:58 CET 2018 on sn-devel-144
selftest/selftest.pl