summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am11
1 files changed, 10 insertions, 1 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 4798202..87d7641 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -6,10 +6,19 @@ TESTS_ENVIRONMENT = \
TESTS = \
ast.test \
resolve.test \
- readers/rss-2.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
+
+
CLEANFILES = ast.log resolve.log rss-2.log location.log info.log