Commit 56a6094b authored by Stefan Kost's avatar Stefan Kost

tests: tune skipping checks if we have disabled subsystems

Skip ABI tests if some subsystems are off. Remove DISABLE_GST_DEBUG from
skipping export checks as this is safe now.
parent c5888dc6
......@@ -142,7 +142,6 @@ include $(top_srcdir)/common/coverage/lcov.mak
# Do not run the check-exports test in case any option which causes the API to
# change has been used
if !GST_DISABLE_GST_DEBUG
if !GST_DISABLE_LOADSAVE
if !GST_DISABLE_REGISTRY
if !GST_DISABLE_TRACE
......@@ -150,7 +149,6 @@ CHECK_EXPORTS = check-exports
endif
endif
endif
endif
check: $(CHECK_EXPORTS) check-enum-gettypes
......
......@@ -33,6 +33,17 @@ else
PARSE_CHECKS = pipelines/simple-launch-lines pipelines/cleanup pipelines/parse-launch
endif
# Do not run the abi test in case any option which causes the API to change has
# been used
if !GST_DISABLE_LOADSAVE
if !GST_DISABLE_REGISTRY
if !GST_DISABLE_TRACE
ABI_CHECKS = gst/gstabi
endif
endif
endif
# if it's calling gst_element_factory_make(), it will probably not work without
# a registry
if GST_DISABLE_REGISTRY
......@@ -73,7 +84,7 @@ REGISTRY_CHECKS = \
endif
check_PROGRAMS = \
gst/gstabi \
$(ABI_CHECKS) \
gst/gstbuffer \
gst/gstbufferlist \
gst/gstbus \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment