[seed] make check: mark known-to-fail tests with XFAIL_TESTS.
- From: Mathieu Duponchelle <mathieudu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [seed] make check: mark known-to-fail tests with XFAIL_TESTS.
- Date: Fri, 16 Sep 2016 12:56:39 +0000 (UTC)
commit 6e115d2b4fa2d372eecd7b3054aa2f1b2c7ef525
Author: Mathieu Duponchelle <mathieu duponchelle opencreed com>
Date: Thu Sep 15 23:22:03 2016 +0200
make check: mark known-to-fail tests with XFAIL_TESTS.
Without this, make check stopped recursing up at the first
subdirectory failure, in our case in tests/javascript/gtypes,
leading to:
* The incorrect impression that the test suite consisted of
only 12 tests.
* Making it impossible for make distcheck to pass.
* First-time users wasting time figuring out what in their
environment was responsible for these failures, as one
usually expects make check to pass.
See
https://www.gnu.org/software/automake/manual/html_node/Scripts_002dbased-Testsuites.html
https://bugzilla.gnome.org/show_bug.cgi?id=771510
tests/javascript/Makefile.am | 10 ++++++++++
tests/javascript/gtypes/Makefile.am | 4 ++++
tests/javascript/signals/Makefile.am | 4 ++++
3 files changed, 18 insertions(+), 0 deletions(-)
---
diff --git a/tests/javascript/Makefile.am b/tests/javascript/Makefile.am
index 3e5baee..1b21fce 100644
--- a/tests/javascript/Makefile.am
+++ b/tests/javascript/Makefile.am
@@ -75,3 +75,13 @@ TESTS = \
syntax-test.js \
type-conversion.js
+XFAIL_TESTS = \
+ function-info.js \
+ gerror.js \
+ array-gtype.js \
+ constructor-args.js \
+ gvalue-argument.js \
+ gdk-event.js \
+ object-info.js \
+ property-glib-exception.js \
+ $(NULL)
diff --git a/tests/javascript/gtypes/Makefile.am b/tests/javascript/gtypes/Makefile.am
index 253c3c0..1daa416 100644
--- a/tests/javascript/gtypes/Makefile.am
+++ b/tests/javascript/gtypes/Makefile.am
@@ -31,3 +31,7 @@ TESTS = \
gtype-gtype-class-init.js \
gtype-signal.js
+XFAIL_TESTS = \
+ gtype-class-init-exception.js \
+ gtype-typerror.js \
+ $(NULL)
diff --git a/tests/javascript/signals/Makefile.am b/tests/javascript/signals/Makefile.am
index d4345ae..dfab878 100644
--- a/tests/javascript/signals/Makefile.am
+++ b/tests/javascript/signals/Makefile.am
@@ -22,3 +22,7 @@ TESTS = \
signal.js \
signal-nofunc.js \
signal-userdata.js
+
+XFAIL_TESTS = \
+ signal-connect.js \
+ $(NULL)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]