[gjs/wip/ptomato/tests: 55/59] tests: Run testSystemExit.js



commit 187a722e1e51f17969a0c865f3644929aed2ffed
Author: Philip Chimento <philip chimento gmail com>
Date:   Sun Oct 23 18:26:21 2016 -0700

    tests: Run testSystemExit.js
    
    This testing script was previously only run as an installed test, but it
    can just as well be run under "make check".

 Makefile-test.am |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/Makefile-test.am b/Makefile-test.am
index b35b697..c169d2f 100644
--- a/Makefile-test.am
+++ b/Makefile-test.am
@@ -297,7 +297,10 @@ AM_TESTS_ENVIRONMENT =                                             \
        $(XVFB_START)                                           \
        $(NULL)
 
-simple_tests = test/testCommandLine.sh
+simple_tests =                                         \
+       test/testCommandLine.sh                         \
+       installed-tests/scripts/testSystemExit.js       \
+       $(NULL)
 EXTRA_DIST += $(simple_tests)
 TESTS += $(simple_tests)
 
@@ -311,6 +314,9 @@ LOG_COMPILER = $(top_srcdir)/test/run-test
 AM_LOG_FLAGS =
 endif !DBUS_TESTS
 
+TEST_EXTENSIONS = .js
+JS_LOG_COMPILER = $(top_builddir)/gjs-console
+
 if CODE_COVERAGE_ENABLED
 AM_TESTS_ENVIRONMENT +=                                                \
        export GJS_UNIT_COVERAGE_OUTPUT=lcov;                           \


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]