From a0da98609a8ccce76e168aec4a74c4a47b5d88aa Mon Sep 17 00:00:00 2001 From: Eric Bremner <ebremner@uwaterloo.ca> Date: Tue, 3 Dec 2024 06:32:01 -0500 Subject: [PATCH] ISTWCMS-7160: update run groups script to now use just straight groups --- run_groups.sh | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/run_groups.sh b/run_groups.sh index d4e5719..74da613 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 "************************************" -- GitLab