Skip to content

Commit 5edb410

Browse files
author
Aaron Roller
committed
feat: added support for singular testsuite AM-415/rostests
1 parent 803f3ca commit 5edb410

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

detection.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ suite_success(){
3535
if cat "$file" | grep "$plural";then
3636
find_fail $plural $file
3737
return $?
38+
elif cat "$file" | grep "$singular";then
39+
find_fail $singular $file
40+
return $?
3841
else
3942
echo "Skipping file without suite: $file"
4043
fi

test/all.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ set -e
66

77
test/one.sh test/success_fixture.xml 0
88
test/one.sh test/failure_fixture.xml 1
9+
test/one.sh test/singular_testsuite_failure_fixture.xml 1
910
test/one.sh test/error_fixture.xml 1
1011

1112
test/one.sh test 1
File renamed without changes.

0 commit comments

Comments
 (0)