Skip to content

Commit dda76cf

Browse files
authored
Take disabled directories into account in run_perf_count_checker.sh (#232)
1 parent a840664 commit dda76cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/run_perf_count_checker.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ REQUIRED_TESTS_COUNT=2
44

55
get_ref_tests_number() {
66
# shellcheck disable=SC2155
7-
local dir_number=$(find "$1" -maxdepth 1 -type d | wc -l)
7+
local dir_number=$(find "$1" -maxdepth 1 -type d ! -name "*_disabled" | wc -l)
88
# shellcheck disable=SC2004
99
local task_number=$(($dir_number-1))
1010
# shellcheck disable=SC2004

0 commit comments

Comments
 (0)