summaryrefslogtreecommitdiff
path: root/test/Makefile.am
blob: 4730b8bf88e9ddf815bedd5d235254bb86a393b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# Copyright 2013 Endless Mobile, Inc.

noinst_PROGRAMS = \
	test/run-tests \
	test/flexy-grid \
	test/smoke-tests/hello

TEST_FLAGS = @EOS_SDK_CFLAGS@ -I$(top_srcdir) -DCOMPILING_EOS_SDK
TEST_LIBS = @EOS_SDK_LIBS@ $(top_builddir)/libendless-@EOS_SDK_API_VERSION@.la

test_run_tests_SOURCES = \
	test/run-tests.c test/run-tests.h \
	test/test-init.c \
	test/test-hello.c \
	test/test-application.c \
	test/test-page-manager.c \
	test/test-splash-page-manager.c \
	test/test-window.c \
	test/test-action-menu.c \
	test/test-action-button.c \
	test/test-flexy-grid.c \
	$(NULL)
test_run_tests_CPPFLAGS = $(TEST_FLAGS)
test_run_tests_LDADD = $(TEST_LIBS)

test_smoke_tests_hello_SOURCES = test/smoke-tests/hello.c
test_smoke_tests_hello_CPPFLAGS = $(TEST_FLAGS)
test_smoke_tests_hello_LDADD = $(TEST_LIBS)

test_flexy_grid_SOURCES = test/flexy-grid.c
test_flexy_grid_CPPFLAGS = $(TEST_FLAGS)
test_flexy_grid_LDADD = $(TEST_LIBS)

javascript_tests = \
	test/tools/eos-run-test/sanitycheck.js \
	test/webhelper/testTranslate.js \
	test/webhelper/testWebActions.js \
	$(NULL)
EXTRA_DIST += $(javascript_tests)

# Run tests when running 'make check'
TESTS = \
	test/run-tests \
	$(javascript_tests) \
	$(NULL)
TEST_EXTENSIONS = .js
JS_LOG_COMPILER = tools/eos-run-test
AM_JS_LOG_FLAGS = \
	--include-path=$(top_srcdir)/webhelper \
	$(NULL)
LOG_COMPILER = gtester
AM_LOG_FLAGS = -k --verbose