diff --git a/run_groups.sh b/run_groups.sh index d4e571937ad0f56a09697a1f73d5c5d3536b99ec..74da6132821a57c3f19c24a6fb0aa2571eaf9ab4 100755 --- a/run_groups.sh +++ b/run_groups.sh @@ -32,8 +32,6 @@ echo "************************************" echo "Getting groups from tests ..." echo "************************************" -echo "Found group: blocklistparity" - # Loop through all files in the directory for file in "$directory"/*; do @@ -49,25 +47,19 @@ for file in "$directory"/*; do # Remove the @group from the extracted text extracted_text=${extracted_text//"@group "/} - if [ "$extracted_text" != "blocklistparity" ]; then - - # Check if extracted text is not empty and is not already in the array - if [[ -n "$extracted_text" && ! " ${unique_values[@]} " =~ " ${extracted_text} " ]]; then + # Check if extracted text is not empty and is not already in the array + if [[ -n "$extracted_text" && ! " ${unique_values[@]} " =~ " ${extracted_text} " ]]; then - # Add the extracted text to the array - unique_values+=("$extracted_text") + # Add the extracted text to the array + unique_values+=("$extracted_text") - # Output to the screen so we see some progress - echo "Found group: $extracted_text" - fi + # Output to the screen so we see some progress + echo "Found group: $extracted_text" fi done < "$file" fi done -# Add block list parity at the beginning. -unique_values=('blocklistparity' "${unique_values[@]:0}") - echo "************************************" echo "Done getting groups from tests." echo "************************************"