summaryrefslogtreecommitdiff
path: root/tests/Makefile
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2019-12-02 23:57:11 +0200
committerMartin Storsjö <martin@martin.st>2019-12-17 10:22:29 +0200
commit0f50be625f156e49ce3a2eac9b794a29fdcad4ab (patch)
tree8d3c07cdd1e18c19ab5ab0951fa7b1e0d01dae1e /tests/Makefile
parentefefba61f8513e9d909af041b17584fd82775c63 (diff)
fate: Add an option for disabling the 2k/4k tests
When testing on a memory limited system, these tests consume a significant amount of memory and can often fail if testing by running multiple processes in parallel. Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'tests/Makefile')
-rw-r--r--tests/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/Makefile b/tests/Makefile
index 0ef571b067..e5f41008d4 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -85,6 +85,16 @@ FILTERDEMDECENCMUX = $(call ALLYES, $(1:%=%_FILTER) $(2)_DEMUXER $(3)_DECODER $(
PARSERDEMDEC = $(call ALLYES, $(1)_PARSER $(2)_DEMUXER $(3)_DECODER)
+# Allow overriding CONFIG_LARGE_TESTS via LARGE_TESTS, if set on the
+# make command line.
+ifeq ($(LARGE_TESTS), yes)
+CONFIG_LARGE_TESTS:=yes
+!CONFIG_LARGE_TESTS:=
+else ifeq ($(LARGE_TESTS), no)
+CONFIG_LARGE_TESTS:=
+!CONFIG_LARGE_TESTS:=yes
+endif
+
include $(SRC_PATH)/$(APITESTSDIR)/Makefile
include $(SRC_PATH)/$(DNNTESTSDIR)/Makefile