mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
tests: disable all tests when --disable-tests is used
Move conditional subdir include into top level. Based on patch by: Joel Holdsworth https://bugzilla.gnome.org/show_bug.cgi?id=757703
This commit is contained in:
parent
0dae3a007d
commit
f5b7f57a17
2 changed files with 10 additions and 12 deletions
|
@ -6,13 +6,19 @@ else
|
||||||
SUBDIRS_EXAMPLES =
|
SUBDIRS_EXAMPLES =
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
if BUILD_TESTS
|
||||||
|
SUBDIRS_TESTS = tests
|
||||||
|
else
|
||||||
|
SUBDIRS_TESTS =
|
||||||
|
endif
|
||||||
|
|
||||||
SUBDIRS = \
|
SUBDIRS = \
|
||||||
gst \
|
gst \
|
||||||
common \
|
common \
|
||||||
pkgconfig \
|
pkgconfig \
|
||||||
docs \
|
docs \
|
||||||
$(SUBDIRS_EXAMPLES) \
|
$(SUBDIRS_EXAMPLES) \
|
||||||
tests
|
$(SUBDIRS_TESTS)
|
||||||
|
|
||||||
DIST_SUBDIRS = gst common pkgconfig docs examples tests
|
DIST_SUBDIRS = gst common pkgconfig docs examples tests
|
||||||
|
|
||||||
|
|
|
@ -6,14 +6,6 @@ AM_LDFLAGS = \
|
||||||
$(GST_LIBS) \
|
$(GST_LIBS) \
|
||||||
$(top_builddir)/gst/rtsp-server/libgstrtspserver-@GST_API_VERSION@.la
|
$(top_builddir)/gst/rtsp-server/libgstrtspserver-@GST_API_VERSION@.la
|
||||||
|
|
||||||
if BUILD_TESTS
|
SUBDIRS = check
|
||||||
SUBDIRS_CHECK = check
|
|
||||||
else
|
|
||||||
SUBDIRS_CHECK =
|
|
||||||
endif
|
|
||||||
|
|
||||||
SUBDIRS = \
|
DIST_SUBDIRS = check
|
||||||
$(SUBDIRS_CHECK)
|
|
||||||
|
|
||||||
DIST_SUBDIRS = \
|
|
||||||
check
|
|
||||||
|
|
Loading…
Reference in a new issue