[CI] Stop the container at the end
[centerim5.git] / tests / Makefile.am
blob03a262d222e0177d1dcc2c35084a2067dd399abf
1 check_PROGRAMS = \
2         button \
3         colorpicker \
4         label \
5         submenu \
6         textentry \
7         textview \
8         treeview \
9         window
11 AM_CPPFLAGS = \
12         $(SIGC_CFLAGS) \
13         -I$(top_srcdir)
15 LDADD = \
16         $(SIGC_LIBS) \
17         $(top_builddir)/cppconsui/libcppconsui.la
19 button_SOURCES = button.cpp main.cpp
20 colorpicker_SOURCES = colorpicker.cpp main.cpp
21 label_SOURCES = label.cpp main.cpp
22 submenu_SOURCES = submenu.cpp main.cpp
23 textentry_SOURCES = textentry.cpp main.cpp
24 textview_SOURCES = textview.cpp main.cpp
25 treeview_SOURCES = treeview.cpp main.cpp
26 window_SOURCES = window.cpp main.cpp
28 # List of test playbooks.
29 TERMEX_TESTS = \
30         treeview.test
32 EXTRA_DIST = \
33         termex.py \
34         termex.src \
35         $(TERMEX_TESTS)
37 if TERMEX_TESTS
38 terminfo: termex.src
39         $(AM_V_GEN)$(TIC) -o terminfo "$(srcdir)/termex.src"
40         $(AM_V_at)touch terminfo
42 TEST_LOG_COMPILER = $(PYTHON) "$(srcdir)/termex.py"
43 AM_TEST_LOG_FLAGS = -t "$(abs_builddir)/terminfo" test
44 TESTS = $(TERMEX_TESTS)
46 # Use check_DATA to compile terminfo. This target is guaranteed to be built
47 # before check-TESTS, unlike check-local.
48 check_DATA = terminfo
50 else
51 fail-test:
52         $(error tests cannot be run because required dependencies are missing, \
53                 reconfigure the build and install the tools that are reported \
54                 as needed for the testing)
56 TESTS = fail-test
57 endif
59 mostlyclean-local:
60         -$(AM_V_at)rm -r terminfo