mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
check: allow '-e testid' to exclude a single test
This enables us to mask off specific tests. Signed-off-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Brian Foster <bfoster@redhat.com> Signed-off-by: Eryu Guan <guaneryu@gmail.com>
This commit is contained in:
committed by
Eryu Guan
parent
2d4fb6bb30
commit
5baeea6fe8
@@ -79,6 +79,7 @@ testlist options
|
||||
-g group[,group...] include tests from these groups
|
||||
-x group[,group...] exclude tests from these groups
|
||||
-X exclude_file exclude individual tests
|
||||
-e testlist exclude a specific list of tests
|
||||
-E external_file exclude individual tests
|
||||
[testlist] include tests matching names in testlist
|
||||
|
||||
@@ -287,6 +288,11 @@ while [ $# -gt 0 ]; do
|
||||
|
||||
-X) subdir_xfile=$2; shift ;
|
||||
;;
|
||||
-e)
|
||||
xfile=$2; shift ;
|
||||
echo "$xfile" | tr ', ' '\n\n' >> $tmp.xlist
|
||||
;;
|
||||
|
||||
-E) xfile=$2; shift ;
|
||||
if [ -f $xfile ]; then
|
||||
sed "s/#.*$//" "$xfile" >> $tmp.xlist
|
||||
|
||||
Reference in New Issue
Block a user