diff options
author | Simon Feltman <sfeltman@src.gnome.org> | 2014-01-04 12:14:41 -0800 |
---|---|---|
committer | Simon Feltman <sfeltman@src.gnome.org> | 2014-01-04 12:25:07 -0800 |
commit | 512111b007a684886f287b5b0fdff678969971d2 (patch) | |
tree | 460f1c4609b2b1954dbfb4d58d83dafabc59bda5 | |
parent | 8678a8a355351fd7b737ba581b92e8346003cb66 (diff) | |
download | gobject-introspection-512111b007a684886f287b5b0fdff678969971d2.tar.gz |
tests: Update GI to use parallel test harness
There was some dependence on the serial test harness in the recent tests
that were added. Update GI to use the parallel test harness to avoid
incompatibilities.
https://bugzilla.gnome.org/show_bug.cgi?id=721477
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | tests/Makefile.am | 3 | ||||
-rwxr-xr-x | tests/gi-tester | 2 | ||||
-rw-r--r-- | tests/scanner/Makefile.am | 4 | ||||
-rw-r--r-- | tests/scanner/annotationparser/Makefile.am | 4 |
5 files changed, 7 insertions, 8 deletions
diff --git a/configure.ac b/configure.ac index f60d3f47..a01d630f 100644 --- a/configure.ac +++ b/configure.ac @@ -17,7 +17,7 @@ AC_CONFIG_HEADER([config.h]) AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_AUX_DIR([build-aux]) -AM_INIT_AUTOMAKE([1.11 tar-ustar dist-xz no-dist-gzip foreign -Wno-portability]) +AM_INIT_AUTOMAKE([1.11 tar-ustar dist-xz no-dist-gzip foreign -Wno-portability parallel-tests]) AM_MAINTAINER_MODE([enable]) AM_SILENT_RULES([yes]) diff --git a/tests/Makefile.am b/tests/Makefile.am index 877c2fc5..26b59108 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -67,5 +67,4 @@ GIMarshallingTests-1.0.gir: libgimarshallingtests-1.0.la Makefile $(AM_V_GEN) $(INTROSPECTION_COMPILER) $(INTROSPECTION_COMPILER_ARGS) $< -o $@ TESTS=Everything-1.0.typelib GIMarshallingTests-1.0.typelib -TESTS_ENVIRONMENT=$(srcdir)/gi-tester - +LOG_COMPILER=$(srcdir)/gi-tester diff --git a/tests/gi-tester b/tests/gi-tester index a7be6904..6f31a0d7 100755 --- a/tests/gi-tester +++ b/tests/gi-tester @@ -47,7 +47,7 @@ case $targetname in fi ;; *) - echo $"Usage: [TESTARGS=<args>] gi-tester <targetname>" + echo $"Usage: [TESTARGS=<args>] gi-tester <targetname>" $1 exit 1 ;; esac diff --git a/tests/scanner/Makefile.am b/tests/scanner/Makefile.am index 999116de..7a154b38 100644 --- a/tests/scanner/Makefile.am +++ b/tests/scanner/Makefile.am @@ -199,8 +199,8 @@ PYTESTS = \ XFAIL_TESTS = Typedefs-1.0.gir TESTS = Headeronly-1.0.gir $(CHECKGIRS) $(CHECKDOCS) $(TYPELIBS) $(PYTESTS) TESTS_ENVIRONMENT = srcdir=$(srcdir) top_srcdir=$(top_srcdir) builddir=$(builddir) top_builddir=$(top_builddir) \ - PYTHON=$(PYTHON) UNINSTALLED_INTROSPECTION_SRCDIR=$(top_srcdir) \ - $(top_srcdir)/tests/gi-tester + PYTHON=$(PYTHON) UNINSTALLED_INTROSPECTION_SRCDIR=$(top_srcdir) +LOG_COMPILER = $(top_srcdir)/tests/gi-tester EXTRA_DIST += \ $(PYTESTS) \ diff --git a/tests/scanner/annotationparser/Makefile.am b/tests/scanner/annotationparser/Makefile.am index 1a65125c..3003df85 100644 --- a/tests/scanner/annotationparser/Makefile.am +++ b/tests/scanner/annotationparser/Makefile.am @@ -5,8 +5,8 @@ TESTS = \ test_patterns.py TESTS_ENVIRONMENT = builddir=$(builddir) top_builddir=$(top_builddir) srcdir=$(srcdir) top_srcdir=$(top_srcdir) \ - PYTHON=$(PYTHON) UNINSTALLED_INTROSPECTION_SRCDIR=$(top_srcdir) \ - $(top_srcdir)/tests/gi-tester + PYTHON=$(PYTHON) UNINSTALLED_INTROSPECTION_SRCDIR=$(top_srcdir) +LOG_COMPILER = $(top_srcdir)/tests/gi-tester EXTRA_DIST = \ $(TESTS) \ |