|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [OSSTEST PATCH 10/13] TestSupport: sub broken: exit with status 0 for skip
Otherwise, whatever calls us will set the step to fail (or something).
Signed-off-by: Ian Jackson <iwj@xxxxxxxxxxxxxx>
---
Osstest/TestSupport.pm | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/Osstest/TestSupport.pm b/Osstest/TestSupport.pm
index ff890f96c..ebe436275 100644
--- a/Osstest/TestSupport.pm
+++ b/Osstest/TestSupport.pm
@@ -285,7 +285,12 @@ END
($affected>0 ? "marked $flight.$job $newst"
: "($flight.$job not marked $newst)").
"\n";
- die $msg;
+ if ($newst =~ m{^(?:skip)$}) {
+ print STDERR $msg;
+ exit 0;
+ } else {
+ die $msg;
+ }
}
sub complete_testid ($) {
--
2.20.1
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |