diff options
author | Darrick J. Wong <djwong@kernel.org> | 2021-02-09 18:56:36 -0800 |
---|---|---|
committer | Eryu Guan <guaneryu@gmail.com> | 2021-03-07 22:36:15 +0800 |
commit | 5baeea6fe8c216debd3b05426e6907ec509bf52b (patch) | |
tree | 70309f819dd5f652054bc970dcd4f3e07b13aa39 /check | |
parent | 2d4fb6bb3078547be73abf4f9913c20813c1e467 (diff) |
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>
Diffstat (limited to 'check')
-rwxr-xr-x | check | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 |