Skip to content

Commit aeab38a

Browse files
author
Aaron Roller
committed
fix: supporting single test suite report AM-415/rostests
1 parent 9a0269b commit aeab38a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

detection.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ suite_success(){
1414
file="$1"
1515
# look for 0 failures and errors
1616
# grep reports non zero code if anything but zero failures/errors
17-
if cat "$file" | grep "<testsuites";then
17+
if cat "$file" | grep "<testsuite";then
1818
suite_line=$(cat "$file" | grep "<testsuites")
1919
if echo "$suite_line" | grep "failures=\"0\"";then
2020
if echo "$suite_line" | grep "errors=\"0\"";then

0 commit comments

Comments
 (0)