Skip to content

Commit

Permalink
runtests: will only list test file for dependency function
Browse files Browse the repository at this point in the history
Signed-off-by: Pengfei Xu <[email protected]>
  • Loading branch information
xupengfe committed Jul 4, 2024
1 parent c4f27dd commit bf22a6a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion BM/runtests
Original file line number Diff line number Diff line change
Expand Up @@ -422,8 +422,9 @@ while getopts ":o:d:f:t:c:h" opt; do
d)
init_dep_log "$DEP_LOG"
CMDFILES=$OPTARG

# If tests-server type will list tests-server in all subfolders
[[ "$CMDFILES" == *"-"* ]] && list_all_test_files "$CMDFILES"
[[ "$CMDFILES" == "$TESTS_SERVER" ]] && list_all_test_files "$CMDFILES"

for cmdfile in $(tr "," " " <<< "$CMDFILES"); do
check_test_file_legal "$cmdfile"
Expand Down

0 comments on commit bf22a6a

Please sign in to comment.