gtester doesn't handle skipped tests
Submitted by Carlos Garcia Campos
Link to original bug (#790934)
Description
They are considered as failures. Before f591366e, this was not a problem, because skipped tests were just ignored. But now they are reported to the logs using G_TEST_RUN_SKIPPED as result/exit_status. gtester considers that any exit status different to G_TEST_RUN_SUCCESS as a failure. This has broken the WebKitGTK+ unit tests after upgrading glib, see:
$ gtester --verbose -s /webkit2/WebKitCookieManager/persistent-storage bin/TestWebKitAPI/WebKit2Gtk/TestCookieManager
TEST: bin/TestWebKitAPI/WebKit2Gtk/TestCookieManager... (pid=19685)
DBG: beforeAll
/webkit2/WebKitCookieManager/accept-policy: OK
/webkit2/WebKitCookieManager/add-cookie: OK
/webkit2/WebKitCookieManager/get-cookies: OK
/webkit2/WebKitCookieManager/delete-cookie: OK
/webkit2/WebKitCookieManager/delete-cookies: OK
/webkit2/WebKitCookieManager/cookies-changed: OK
/webkit2/WebKitCookieManager/persistent-storage: FAIL
GTester: last random seed: R02S2d177acadc4c609a79f1d2634f5461c9
Terminado
See also
Edited by Christoph Reiter