summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorPhilip Chimento <philip@endlessm.com>2013-09-05 17:21:25 -0700
committerPhilip Chimento <philip@endlessm.com>2013-09-16 10:30:42 -0700
commitd88e6674fd6fcad3bdd841c75c81fec1815615c8 (patch)
treee8ee2e9d1a99479d859831b1c7dc436def2cb34d /Makefile.am
parent1c4bc890875ee5e7edad81fd6a8b5644058e936d (diff)
First attempt at an EOS test runner
This adds a script eos-run-test which is adapted from gjs_run_tests, but does not try to discover the tests itself. Instead, in keeping with Automake's test suite facilities, it takes the filename of a test to run. [endlessm/eos-sdk#290]
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am11
1 files changed, 10 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index feee832..b2dce68 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -146,6 +146,10 @@ gjsoverridedir = ${datadir}/gjs-1.0/overrides
dist_gjsoverride_DATA = \
overrides/Endless.js
+# # # SDK TOOLS # # #
+
+include $(top_srcdir)/tools/Makefile.am.inc
+
# # # INSTALLED M4 MACROS # # #
m4dir = ${datadir}/aclocal
@@ -158,6 +162,11 @@ m4_DATA = \
include $(top_srcdir)/test/Makefile.am
# Run tests when running 'make check'
-TESTS = test/run-tests
+TESTS = \
+ test/run-tests \
+ test/tools/eos-run-test/sanitycheck.js \
+ $(NULL)
+TEST_EXTENSIONS = .js
+JS_LOG_COMPILER = tools/eos-run-test
LOG_COMPILER = gtester
AM_LOG_FLAGS = -k --verbose