test/common: do not double exclude autotest_common.sh
No need to exclude the autotest_common.sh twice when creating test list. Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Change-Id: Ice7be31a9d7d284dd411ebfd3854e075b37c0275 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1088 Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
This commit is contained in:
parent
eba5d05515
commit
7265600d63
@ -340,7 +340,6 @@ function timing_finish() {
|
|||||||
|
|
||||||
function create_test_list() {
|
function create_test_list() {
|
||||||
grep -rshI --include="*.sh" --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 "#" \
|
-e "run_test " $rootdir | grep -v "#" \
|
||||||
| sed 's/^.*run_test/run_test/' | awk '{print $2}' | \
|
| sed 's/^.*run_test/run_test/' | awk '{print $2}' | \
|
||||||
sed 's/\"//g' | sort > $output_dir/all_tests.txt || true
|
sed 's/\"//g' | sort > $output_dir/all_tests.txt || true
|
||||||
|
Loading…
Reference in New Issue
Block a user