Revert "tests: Exclude version suite when used as a submodule"

This reverts commit 1264c2a86f.
This commit is contained in:
Gilles Peskine 2020-02-26 19:43:46 +01:00 committed by Ronald Cron
parent b85b20dfdc
commit 5748757615
2 changed files with 1 additions and 12 deletions

View File

@ -151,10 +151,8 @@ add_test_suite(psa_its)
add_test_suite(shax)
add_test_suite(timing)
add_test_suite(rsa)
add_test_suite(version)
add_test_suite(xtea)
if (NOT USE_CRYPTO_SUBMODULE)
add_test_suite(version)
endif()
# Make scripts and data files needed for testing available in an
# out-of-source build.

View File

@ -66,15 +66,6 @@ endif
# constructed by stripping path 'suites/' and extension .data.
APPS = $(basename $(subst suites/,,$(wildcard suites/test_suite_*.data)))
# When this project is used as a submodule, exclude the following list of
# tests, which will be run from the parent module instead.
ifdef USE_CRYPTO_SUBMODULE
APPS := $(filter-out \
test_suite_version \
,$(APPS))
endif
# Construct executable name by adding OS specific suffix $(EXEXT).
BINARIES := $(addsuffix $(EXEXT),$(APPS))