[gnome-keyring] build: Fix tap-driver to respect tests that skip completely
- From: Stefan Walter <stefw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-keyring] build: Fix tap-driver to respect tests that skip completely
- Date: Tue, 9 Sep 2014 14:56:22 +0000 (UTC)
commit 7e75a62e846551c19b9c875f7b237a07ee3b93e1
Author: Stef Walter <stefw gnome org>
Date: Tue Sep 9 16:51:32 2014 +0200
build: Fix tap-driver to respect tests that skip completely
build/tap-driver | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/build/tap-driver b/build/tap-driver
index 96fd219..1205425 100755
--- a/build/tap-driver
+++ b/build/tap-driver
@@ -222,9 +222,12 @@ class TapDriver(Driver):
if code != "SKIP":
skipped = False
- if not self.errored and returncode:
- self.report_error("process failed: %d" % returncode)
- self.errored = True
+ if not self.errored:
+ if returncode == 77:
+ skipped = True
+ elif returncode:
+ self.report_error("process failed: %d" % returncode)
+ self.errored = True
# Check the plan
if not self.errored:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]