check: expunge tests when doing a dry run

Running ./check with -n will not execute tests, however
when exclude files are used we still show them as if
they are run. Test the exclude file prior to assuming
we can run a test on a dry run.

Signed-off-by: Luis R. Rodriguez <mcgrof@kernel.org>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
This commit is contained in:
Luis R. Rodriguez
2018-01-20 23:24:01 -08:00
committed by Eryu Guan
parent cdd360da7b
commit 8ebb071eb8
+4
View File
@@ -668,6 +668,10 @@ for section in $HOST_OPTIONS_SECTIONS; do
echo -n "$seqnum"
if $showme; then
_expunge_test $seqnum
if [ $? -eq 1 ]; then
continue
fi
echo
start=0
stop=0