TIVI-153: Add as dependency for iputils
[profile/ivi/opensp.git] / tests / Makefile.am
1 ## Makefile for the tests subdirectory of OpenSP
2 ## Copyright (C) 2002, 2005 OpenSP Project
3 ## Process this file with automake to produce Makefile.in.
4
5 # AUTOMAKE_OPTIONS = 1.7 no-dependencies
6
7 # A dist should include all tests, but not all tests should always run.
8 # Disabling DTDDECL should turn that test off, and setting SHOWSTOPPERS to a
9 # blank value should prevent those tests from running and allow a make check
10 # to complete with a zero exit code.
11
12 TESTS_THAT_PASS = onsgmls-1 onsgmls-2 \
13 osnorm-1 \
14 af-1 af-2 af-3 af-4 af-5 af-6 af-12 af-13 af-14 af-15 af-16 \
15 af-18 af-19
16
17 # These tests currently fail, but should not.  The problems need to be tracked
18 # down and fixed, then the tests moved to TESTS_THAT_PASS.
19 TESTS_THAT_FAIL = catalog-2 \
20 af-7 af-8 af-9 af-10 af-11
21
22 SHOWSTOPPERS = $(TESTS_THAT_FAIL)
23
24 DTDDECL_TEST = catalog-1
25
26 TESTS = $(TESTS_THAT_PASS) $(SHOWSTOPPERS)
27
28 if DTDDECL
29 TESTS += $(DTDDECL_TEST)
30 endif
31
32 EXTRA_DIST = $(TESTS_THAT_PASS) $(TESTS_THAT_FAIL) $(DTDDECL_TEST)
33
34
35 TESTS_ENVIRONMENT = top_srcdir=$(top_srcdir) \
36         PATH=.:../nsgmls:../sgmlnorm:../sx:../spent:../spcat:../spam:$$PATH \
37         ONSGMLS=`echo onsgmls|sed '$(transform)'`\
38         OSGMLNORM=`echo osgmlnorm|sed '$(transform)'`\
39         $(SHELL)
40
41 # Two auxiliary programs used by the tests.
42 INCLUDES = -I.. -I$(top_srcdir)/lib -I$(top_srcdir)/intl
43 DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@
44