aboutsummaryrefslogtreecommitdiff
path: root/tftf
diff options
context:
space:
mode:
authorSandrine Bailleux <sandrine.bailleux@arm.com>2018-10-03 17:05:59 +0200
committerSandrine Bailleux <sandrine.bailleux@arm.com>2018-10-16 11:44:25 +0200
commit043d5361ecc3514b01a6362775fd984c5ffff00e (patch)
tree82e76a81ddbebac2e4d31ad75c668607e74aa333 /tftf
parent0c6ef87c67dff1fd40ddc74c9b0c2a31f66dc379 (diff)
downloadtf-a-tests-043d5361ecc3514b01a6362775fd984c5ffff00e.tar.gz
Add a makefile rule to print set of tests
Sample output: > make help_tests Available sets of tests: - sdei - uncontainable - extensive - arm-state-switch - manual - single-fault - tsp - psci-extensive - standard - cpu-extensions - boot-req - psci - tftf-validation - spm - el3-power-state - performance - template - fwu - runtime-instrumentation Change-Id: I8ab5ae0cadfe950cb690d0943148b15e2448f5c8 Signed-off-by: Sandrine Bailleux <sandrine.bailleux@arm.com>
Diffstat (limited to 'tftf')
-rw-r--r--tftf/tests/tests.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/tftf/tests/tests.mk b/tftf/tests/tests.mk
index 75c409bdc..f5414e27a 100644
--- a/tftf/tests/tests.mk
+++ b/tftf/tests/tests.mk
@@ -6,6 +6,14 @@
TESTS ?= standard
+tests_files := $(wildcard tftf/tests/*.xml)
+tests_sets := $(patsubst tftf/tests/tests-%.xml,%,${tests_files})
+
+PHONY: help_tests
+help_tests:
+ @echo "Available sets of tests:"
+ @$(foreach t, ${tests_sets}, printf " - %s\n" ${t};)
+
TESTS_FILE := tftf/tests/tests-${TESTS}.xml
TESTS_MAKEFILE := tftf/tests/tests-${TESTS}.mk