diff options
Diffstat (limited to 'gobject')
-rw-r--r-- | gobject/Makefile.am | 4 | ||||
-rwxr-xr-x | gobject/run-live-tests | 2 | ||||
-rwxr-xr-x | gobject/run-tests | 4 |
3 files changed, 6 insertions, 4 deletions
diff --git a/gobject/Makefile.am b/gobject/Makefile.am index 02e70cba..2d5c2a65 100644 --- a/gobject/Makefile.am +++ b/gobject/Makefile.am @@ -86,10 +86,12 @@ typelibdir = $(libdir)/girepository-1.0 typelib_DATA = $(INTROSPECTION_GIRS:.gir=.typelib) TESTS = run-tests + if ENABLE_APPLIANCE TESTS += run-live-tests endif ENABLE_APPLIANCE -TESTS_ENVIRONMENT = GJS=$(GJS) + +TESTS_ENVIRONMENT = $(top_builddir)/run --test $(TESTS): $(typelib_DATA) diff --git a/gobject/run-live-tests b/gobject/run-live-tests index 11e8f7b0..3f3648e2 100755 --- a/gobject/run-live-tests +++ b/gobject/run-live-tests @@ -23,4 +23,4 @@ if [ -z "$GJS" ]; then exit 0 fi -../run $GJS $srcdir/tests-misc.js 2>/dev/null +$GJS $srcdir/tests-misc.js 2>/dev/null diff --git a/gobject/run-tests b/gobject/run-tests index 55c489cf..014f646e 100755 --- a/gobject/run-tests +++ b/gobject/run-tests @@ -23,6 +23,6 @@ if [ -z "$GJS" ]; then exit 0 fi -../run $GJS $srcdir/bindtests.js > bindtests.tmp +$GJS $srcdir/bindtests.js > bindtests.tmp diff -u ${srcdir}/../bindtests bindtests.tmp -../run $GJS $srcdir/bindtests-manual.js 2>/dev/null +$GJS $srcdir/bindtests-manual.js 2>/dev/null |