[gnome-keyring] build: Make tap-gtester handle skipped tests correctly
- From: Stefan Walter <stefw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-keyring] build: Make tap-gtester handle skipped tests correctly
- Date: Wed, 7 Oct 2015 11:19:17 +0000 (UTC)
commit 918ab836fd23f9b2c0bf655c7f4f575bffff3189
Author: Dmitry Shachnev <mitya57 ubuntu com>
Date: Wed Sep 30 14:33:13 2015 +0300
build: Make tap-gtester handle skipped tests correctly
In pam/test-pam.c, the skip_test function either prints the status
itself, or relies on g_test_skip (depending on GLib version).
The tap-gtester script should handle both cases, not only the first
one.
https://bugzilla.gnome.org/show_bug.cgi?id=755873
build/tap-gtester | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/build/tap-gtester b/build/tap-gtester
index e075281..8949f4d 100755
--- a/build/tap-gtester
+++ b/build/tap-gtester
@@ -79,6 +79,8 @@ class GTestCompiler(NullCompiler):
print "ok %d %s" % (self.test_num, self.test_name)
if data == "FAIL":
print "not ok %d %s", (self.test_num, self.test_name)
+ if data == "SKIP":
+ print "ok %d %s # skip" % (self.test_num, self.test_name)
self.test_name = None
elif cmd == "skipping":
if "/subprocess" not in data:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]