[gjs/wip/ptomato/tests: 9/12] tests: Run testSystemExit.js



commit 982b703b9fc2119bc12e179ae39a07b96cd960db
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 2bf2909..7b7f042 100644
--- a/Makefile-test.am
+++ b/Makefile-test.am
@@ -305,13 +305,19 @@ 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)
 
 LOG_DRIVER = env AM_TAP_AWK='$(AWK)' $(SHELL) $(top_srcdir)/tap-driver.sh
 LOG_COMPILER = $(top_srcdir)/test/run-test
 
+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]