summaryrefslogtreecommitdiff
path: root/test/Makefile.am
diff options
context:
space:
mode:
authorHenrik Rydberg <rydberg@euromail.se>2011-03-15 12:47:54 +0100
committerHenrik Rydberg <rydberg@euromail.se>2011-04-04 19:46:29 +0200
commitd55a299efd74431e98c8a4f24cffd07c95d419d6 (patch)
tree2dd5a3d3459308081a0da0fb0d01736fa3c700c7 /test/Makefile.am
parent30800843fd45fd582d16b0a39f57e6d8a98e79bc (diff)
Introduce check test framework
Add the check test framework, and add a simple test to check point to point mappings. The tests use the device files as input. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Diffstat (limited to 'test/Makefile.am')
-rw-r--r--test/Makefile.am27
1 files changed, 27 insertions, 0 deletions
diff --git a/test/Makefile.am b/test/Makefile.am
index e69de29..106641d 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -0,0 +1,27 @@
1if HAVE_CHECK
2test_targets = check-grail
3else
4test_targets =
5endif
6
7TESTS = $(test_targets)
8noinst_PROGRAMS = $(test_targets)
9
10check_grail_SOURCES = \
11 check-mapping.c \
12 check-grail.c
13
14check_grail_CFLAGS = \
15 -Wall -Wextra \
16 -I$(top_srcdir) \
17 -I$(top_srcdir)/include \
18 $(CHECK_CFLAGS)
19
20#
21# Link against the (non-distributed) static lib to pick up the
22# internal symbols.
23#
24check_grail_LDADD = \
25 $(top_builddir)/src/.libs/libutouch-grail.a \
26 $(CHECK_LIBS) \
27 -lutouch-frame -lutouch-evemu -lmtdev -lm