test/common: only scan .sh files for run_test
Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Change-Id: I6be62480adb37dd7b53429b831c5dcf5abfa5818 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1087 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
This commit is contained in:
parent
39efe1512f
commit
eba5d05515
@ -339,7 +339,7 @@ function timing_finish() {
|
||||
}
|
||||
|
||||
function create_test_list() {
|
||||
grep -rshI --exclude="autotest_common.sh" \
|
||||
grep -rshI --include="*.sh" --exclude="autotest_common.sh" \
|
||||
--exclude="$rootdir/test/common/autotest_common.sh" \
|
||||
-e "run_test " $rootdir | grep -v "#" \
|
||||
| sed 's/^.*run_test/run_test/' | awk '{print $2}' | \
|
||||
|
Loading…
Reference in New Issue
Block a user