GST_DEBUG reorganization containing loads of stuff:
[platform/upstream/gstreamer.git] / testsuite / Makefile.am
1 if GST_DISABLE_PARSE
2 GST_PARSE_DIRS = 
3 else
4 GST_PARSE_DIRS = parse
5 endif
6
7 if GST_DISABLE_GST_DEBUG
8 GST_DEBUG_DIRS = 
9 else
10 GST_DEBUG_DIRS = debug
11 endif
12
13 # FIXME : threads bytestream
14 SUBDIRS = caps plugin elements clock refcounting threads indexers $(GST_PARSE_DIRS) $(GST_DEBUG_DIRS) ## cleanup dynparams
15
16 TOP_BUILDDIR=$(shell cd $(top_builddir) && pwd)
17 TESTS_ENVIRONMENT = GST_PLUGIN_PATH=$(TOP_BUILDDIR) GST_REGISTRY=$(TOP_BUILDDIR)/testsuite/test-registry.xml
18
19 if BUILD_FAILING_TESTS
20 testprogs = test_gst_init
21 inspectcheck = gst-inspect-check
22 else
23 testprogs =
24 inspectcheck = 
25 endif
26
27 # since these TESTS are only run after recursing into subdirs,
28 # gst-register should be run before that, in the first subdir that uses it
29 # TESTS = $(top_builddir)/tools/gst-register $(testprogs) $(inspectcheck)
30 TESTS = $(testprogs) $(inspectcheck)
31
32 check_PROGRAMS = $(testprogs)
33
34 # we have nothing but apps here, we can do this safely
35 LIBS = $(GST_LIBS)
36 AM_CFLAGS = $(GST_CFLAGS)
37
38 # we makes them, we gots to clean them
39 CLEANFILES = test-registry.xml
40
41 DIST_SUBDIRS = bytestream caps cleanup clock dynparams elements indexers \
42                 plugin refcounting threads parse
43
44 EXTRA_DIST = gst-inspect-check