summaryrefslogtreecommitdiff
path: root/tests/Makefile.am
blob: 26b05adac2adc8bf111c175e31ce2492a46fa0a7 (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
TESTS_ENVIRONMENT =									\
  GUILE_AUTO_COMPILE=0;									\
  GUILE_LOAD_COMPILED_PATH="$(top_builddir)/src/guile:$$GUILE_LOAD_COMPILED_PATH";	\
  export GUILE_AUTO_COMPILE GUILE_LOAD_COMPILED_PATH;

TEST_LOG_DRIVER =							\
  $(GUILE) --no-auto-compile -e main					\
      -L "$(top_srcdir)/src/guile" -L "$(top_builddir)/src/guile"	\
      -L "$(srcdir)"							\
      "$(top_srcdir)/build-aux/test-driver.scm"

TESTS =						\
  ast.test					\
  resolve.test					\
  engines/info.test				\
  location.test

if BUILD_RSS2_READER

TESTS += readers/rss-2.test
EXTRA_DIST = $(TESTS)

else !BUILD_RSS2_READER

EXTRA_DIST = $(TESTS) readers/rss-2.test

endif !BUILD_RSS2_READER

if BUILD_GEMTEXT_READER

TESTS += readers/gemtext.test
EXTRA_DIST = $(TESTS)

else !BUILD_GEMTEXT_READER

EXTRA_DIST = $(TESTS) readers/gemtext.test

endif !BUILD_GEMTEXT_READER

CLEANFILES = ast.log resolve.log rss-2.log location.log info.log