[seed] Making instalable tests
- From: Danilo Cesar Lemes de Paula <danilocesar src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [seed] Making instalable tests
- Date: Fri, 14 Oct 2016 18:14:55 +0000 (UTC)
commit 6c7796072a9c25e46dde867b94b1d6d3a9b5f6ea
Author: Danilo Cesar Lemes de Paula <danilo cesar collabora co uk>
Date: Fri Oct 14 15:14:06 2016 -0300
Making instalable tests
tests/javascript/Makefile.am | 77 +++++++++++++++-------------------
tests/javascript/gtypes/Makefile.am | 36 +++++++++-------
tests/javascript/signals/Makefile.am | 32 +++++++++-----
tests/javascript/structs/Makefile.am | 34 ++++++++++-----
4 files changed, 97 insertions(+), 82 deletions(-)
---
diff --git a/tests/javascript/Makefile.am b/tests/javascript/Makefile.am
index 7944165..d71c19c 100644
--- a/tests/javascript/Makefile.am
+++ b/tests/javascript/Makefile.am
@@ -3,8 +3,7 @@ TESTS_ENVIRONMENT = PATH=$(top_builddir)/src:$$PATH
SUBDIRS = gtypes signals structs
-EXTRA_DIST = \
- COPYING \
+workingtests = \
argv.js \
array-gtype.js \
builtin-argument-length.js \
@@ -16,55 +15,17 @@ EXTRA_DIST = \
enum.js \
fork.js \
function-info.js \
- gdk-event.js \
- gerror.js \
- gobject-scope.js \
- gvalue-argument.js \
- include.js \
- included.js.in \
- include-syntax.js \
- introspect.js \
- json-constructor.js \
- json.js \
- list-test.js \
- modules.js \
- modules-noasserts.js.in \
- native-closure-exception.js \
- native-closure.js \
- object-info.js \
- out-test.js \
- property-benchmark.js \
- property-glib-exception.js \
- quit.js \
- sqlite.js \
- syntax-test.js \
- syntax-test-noasserts.js.in \
- type-conversion.js \
- testsuite.js
-
-TESTS = \
- argv.js \
- array-gtype.js \
- builtin-argument-length.js \
- check-syntax.js \
- closure-finalization.js \
- compare.js \
- constructor-args.js \
- constructor-prototype.js \
- enum.js \
- fork.js \
- function-info.js \
- gdk-event.js \
- gerror.js \
gobject-scope.js \
gvalue-argument.js \
include.js \
+ included.js \
include-syntax.js \
introspect.js \
json-constructor.js \
json.js \
list-test.js \
modules.js \
+ modules-noasserts.js \
native-closure-exception.js \
native-closure.js \
object-info.js \
@@ -74,11 +35,41 @@ TESTS = \
quit.js \
sqlite.js \
syntax-test.js \
+ syntax-test-noasserts.js \
type-conversion.js
-XFAIL_TESTS = \
+
+failingtests = \
+ syntax-test-noasserts.js \
+ modules-noasserts.js \
+ included.js \
gerror.js \
gdk-event.js \
$(NULL)
+otherfiles = testsuite.js \
+ modules-noasserts.js.in \
+ syntax-test-noasserts.js.in \
+ included.js.in \
+ COPYING \
+ $(NULL)
+
+installingtests_DATA = $(workingtests) $(otherfiles)
+installingtestsdir = $(datadir)/seed@SEED_GTK_VERSION@-tests/javascript/
+
+EXTRA_DIST = \
+ $(workingtests) \
+ $(failingtests) \
+ $(otherfiles) \
+ $(NULL)
+
+TESTS = \
+ $(workingtests) \
+ $(failingtests) \
+ $(NULL)
+
+XFAIL_TESTS = \
+ $(failingtests) \
+ $(NULL)
+
-include $(top_srcdir)/git.mk
diff --git a/tests/javascript/gtypes/Makefile.am b/tests/javascript/gtypes/Makefile.am
index 11bc873..690f0b2 100644
--- a/tests/javascript/gtypes/Makefile.am
+++ b/tests/javascript/gtypes/Makefile.am
@@ -1,8 +1,7 @@
TESTS_ENVIRONMENT = PATH=$(top_builddir)/src:$$PATH
-
-EXTRA_DIST = \
+workingtests = \
gtype-class-init-exception.js \
gtype-typerror.js \
gtype.js \
@@ -14,24 +13,29 @@ EXTRA_DIST = \
gtype-self.js \
gtype-extraprop.js \
gtype-gtype-class-init.js \
- gtype-signal.js \
- testsuite.js
+ gtype-signal.js
+
+failingtests = \
+ $(NULL)
+
+otherfiles = testsuite.js
+
+installingtests_DATA = $(workingtests) $(otherfiles)
+installingtestsdir = $(datadir)/seed@SEED_GTK_VERSION@-tests/javascript/gtypes/
+
+EXTRA_DIST = \
+ $(workingtests) \
+ $(failingtests) \
+ $(otherfiles) \
+ $(NULL)
TESTS = \
- gtype-class-init-exception.js \
- gtype-typerror.js \
- gtype.js \
- gtype-gtype.js \
- gtype-signal-args.js \
- gtype-signal-order-bug663289.js \
- gtype-property-construct.js \
- gtype-property-nice.js \
- gtype-self.js \
- gtype-extraprop.js \
- gtype-gtype-class-init.js \
- gtype-signal.js
+ $(workingtests) \
+ $(failingtests) \
+ $(NULL)
XFAIL_TESTS = \
+ $(failingtests) \
$(NULL)
-include $(top_srcdir)/git.mk
diff --git a/tests/javascript/signals/Makefile.am b/tests/javascript/signals/Makefile.am
index f5416ad..9971c85 100644
--- a/tests/javascript/signals/Makefile.am
+++ b/tests/javascript/signals/Makefile.am
@@ -1,8 +1,7 @@
TESTS_ENVIRONMENT = PATH=$(top_builddir)/src:$$PATH
-
-EXTRA_DIST = \
+workingtests = \
signal-connect.js \
signal-disconnect.js \
signal-exception.js \
@@ -10,20 +9,29 @@ EXTRA_DIST = \
signal-invalid.js \
signal.js \
signal-nofunc.js \
- signal-userdata.js \
- testsuite.js
+ signal-userdata.js
+
+failingtests = \
+ $(NULL)
+
+otherfiles = testsuite.js
+
+installingtests_DATA = $(workingtests) $(otherfiles)
+installingtestsdir = $(datadir)/seed@SEED_GTK_VERSION@-tests/javascript/signals/
+
+EXTRA_DIST = \
+ $(workingtests) \
+ $(failingtests) \
+ $(otherfiles) \
+ $(NULL)
TESTS = \
- signal-connect.js \
- signal-disconnect.js \
- signal-exception.js \
- signal-expects.js \
- signal-invalid.js \
- signal.js \
- signal-nofunc.js \
- signal-userdata.js
+ $(workingtests) \
+ $(failingtests) \
+ $(NULL)
XFAIL_TESTS = \
+ $(failingtests) \
$(NULL)
-include $(top_srcdir)/git.mk
diff --git a/tests/javascript/structs/Makefile.am b/tests/javascript/structs/Makefile.am
index a586ec0..6337e5c 100644
--- a/tests/javascript/structs/Makefile.am
+++ b/tests/javascript/structs/Makefile.am
@@ -1,7 +1,7 @@
TESTS_ENVIRONMENT = PATH=$(top_builddir)/src:$$PATH
-EXTRA_DIST = \
+workingtests = \
struct-functions.js \
struct-set-member.js \
struct-constructor.js \
@@ -9,18 +9,30 @@ EXTRA_DIST = \
struct-null.js \
struct-union-enumerate.js \
struct-enumerate.js \
- struct-offsets.js \
- testsuite.js
+ struct-offsets.js
+
+failingtests = \
+ $(NULL)
+
+otherfiles = testsuite.js
+
+installingtests_DATA = $(workingtests) $(otherfiles)
+installingtestsdir = $(datadir)/seed@SEED_GTK_VERSION@-tests/javascript/stucts/
+
+EXTRA_DIST = \
+ $(workingtests) \
+ $(failingtests) \
+ $(otherfiles) \
+ $(NULL)
TESTS = \
- struct-functions.js \
- struct-set-member.js \
- struct-constructor.js \
- struct-nested-set.js \
- struct-null.js \
- struct-union-enumerate.js \
- struct-enumerate.js \
- struct-offsets.js
+ $(workingtests) \
+ $(failingtests) \
+ $(NULL)
+
+XFAIL_TESTS = \
+ $(failingtests) \
+ $(NULL)
-include $(top_srcdir)/git.mk
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]