diff --git a/tests/Makefile.am b/tests/Makefile.am
index ae60d5220b14f25037be52650f05e0472bf7c1f8..23ff192b73664da5639843777eef4e7f9899dd58 100644 (file)
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
+EXTRA_DIST = README
-SUBDIRS = instantiate memchunk muxing sched threadstate seeking # bufspeed
-
-if GST_DISABLE_TRACE
-LAT =
+if BUILD_TESTS
+## SUBDIRS_TESTS = tests testsuite
+## FIXME: write tests from scratch
+SUBDIRS_TESTS =
+if HAVE_CHECK
+SUBDIRS_CHECK = check
else
-LAT = lat
-
+SUBDIRS_CHECK =
+endif
+else
+SUBDIRS_TESTS =
+SUBDIRS_CHECK =
endif
-noinst_PROGRAMS = $(LAT) spidey_bench
+if BUILD_EXAMPLES
+SUBDIRS_EXAMPLES = examples
+else
+SUBDIRS_EXAMPLES =
+endif
-AM_CFLAGS = $(GST_OBJ_CFLAGS)
-LIBS = $(GST_OBJ_LIBS)
+SUBDIRS = \
+ benchmarks \
+ $(SUBDIRS_CHECK) \
+ misc \
+ $(SUBDIRS_TESTS) \
+ $(SUBDIRS_EXAMPLES)
-EXTRA_DIST = README
-DIST_SUBDIRS= bufspeed instantiate memchunk muxing sched threadstate seeking
+# These are all the possible subdirs
+DIST_SUBDIRS = \
+ benchmarks \
+ check \
+ examples \
+ misc