Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
wcms_tests
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
WCMS
wcms_tests
Commits
a0da9860
Commit
a0da9860
authored
4 months ago
by
Eric Bremner
Browse files
Options
Downloads
Patches
Plain Diff
ISTWCMS-7160: update run groups script to now use just straight groups
parent
20ca00c1
No related branches found
No related tags found
2 merge requests
!83
ISTWCMS-7160 Fix service content type in testAutomaticListBlocksSettings in...
,
!81
ISTWCMS-7160 Make existing Codeception tests pass
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
run_groups.sh
+6
-14
6 additions, 14 deletions
run_groups.sh
with
6 additions
and
14 deletions
run_groups.sh
+
6
−
14
View file @
a0da9860
...
...
@@ -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
"************************************"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment