From 3c46d4730428b7f503d3d9df9c1d465ab22848fa Mon Sep 17 00:00:00 2001 From: Philip Chimento Date: Fri, 17 Apr 2015 12:42:37 -0700 Subject: Integrate Jasmine with Automake This runs the tests during "make check" using jasmine-gjs, and outputs results in the TAP format that Automake understands. [endlessm/eos-sdk#3054] --- test/Makefile.am.inc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'test/Makefile.am.inc') diff --git a/test/Makefile.am.inc b/test/Makefile.am.inc index 1146eb7..7244a85 100644 --- a/test/Makefile.am.inc +++ b/test/Makefile.am.inc @@ -27,10 +27,15 @@ TESTS = \ test/endless/run-tests \ $(javascript_tests) \ $(NULL) -TEST_EXTENSIONS = +JS_LOG_DRIVER = env AM_TAP_AWK='$(AWK)' $(SHELL) $(top_srcdir)/tap-driver.sh +JS_LOG_DRIVER_FLAGS = --comments +TEST_EXTENSIONS = .js +JS_LOG_COMPILER = jasmine AM_JS_LOG_FLAGS = \ --include-path=$(top_srcdir)/webhelper \ --include-path=$(top_srcdir) \ + --tap \ + --no-config \ $(NULL) LOG_COMPILER = gtester AM_LOG_FLAGS = -k --verbose -- cgit v1.2.3