summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorDmitry Shachnev <mitya57@ubuntu.com>2015-09-30 14:33:13 +0300
committerStef Walter <stefw@gnome.org>2015-10-01 17:50:08 +0200
commit918ab836fd23f9b2c0bf655c7f4f575bffff3189 (patch)
treec9569041ede6cc5c879c476962dbf8878fa96f53 /build
parentcc0d05adb11f1bcbc9a8be33a29a34cd20a9a57f (diff)
downloadgnome-keyring-918ab836fd23f9b2c0bf655c7f4f575bffff3189.tar.gz
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
Diffstat (limited to 'build')
-rwxr-xr-xbuild/tap-gtester2
1 files changed, 2 insertions, 0 deletions
diff --git a/build/tap-gtester b/build/tap-gtester
index e075281d..8949f4d5 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: