blob: b6bac18a99657e99bb7106fcbcca30e1848bbc72 (
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
53
54
55
56
57
58
59
60
61
|
include $(top_srcdir)/Makefile.decl
NULL =
test_simplify = \
simplify/test1.ui simplify/test1.expected \
simplify/test2.ui simplify/test2.expected \
simplify/test3.ui simplify/test3.expected \
simplify/test4.ui simplify/test4.expected \
simplify/test5.ui simplify/test5.expected \
simplify/test6.ui simplify/test6.expected \
simplify/test7.ui simplify/test7.expected \
simplify/test8.ui simplify/test8.expected \
$(NULL)
EXTRA_DIST += \
$(test_simplify) \
test-simplify.in \
test-settings.in \
$(NULL)
TESTS_ENVIRONMENT = \
GTK_BUILDER_TOOL="$(top_builddir)/gtk/gtk-builder-tool" \
GTK_QUERY_SETTINGS="$(top_builddir)/gtk/gtk-query-settings" \
$(NULL)
TEST_PROGS += \
test-simplify \
test-settings \
$(NULL)
test-simplify:test-simplify.in
$(AM_V_GEN) cp $< $@
test-settings:test-settings.in
$(AM_V_GEN) cp $< $@
if BUILDOPT_INSTALL_TESTS
insttestdir = $(libexecdir)/installed-tests/$(PACKAGE)
insttest_SCRIPTS = $(TEST_PROGS)
nobase_insttest_DATA = $(test_simplify)
%.test: % Makefile
$(AM_V_GEN) (echo '[Test]' > $@.tmp; \
echo 'Type=session' >> $@.tmp; \
echo 'Output=TAP' >> $@.tmp; \
echo 'Exec=env G_ENABLE_DIAGNOSTIC=0 TEST_DATA_DIR="$(insttestdir)/simplify" $(insttestdir)/$<' >> $@.tmp; \
mv $@.tmp $@)
test_files = $(TEST_PROGS:=.test)
DISTCLEANFILES = \
$(TEST_PROGS) \
$(test_files) \
$(NULL)
testmetadir = $(datadir)/installed-tests/$(PACKAGE)
testmeta_DATA = $(test_files)
endif
-include $(top_srcdir)/git.mk
|