summaryrefslogtreecommitdiff
path: root/include/common
diff options
context:
space:
mode:
authorJoanna Farley <joanna.farley@arm.com>2022-03-01 18:49:27 +0100
committerTrustedFirmware Code Review <review@review.trustedfirmware.org>2022-03-01 18:49:27 +0100
commitc0adf67dd803b6313a1368c1b4a0993faba2aacc (patch)
tree4e727b4d413b8bacdef4ccdc43ead565342bbfb7 /include/common
parent1b6cb96f0c229c81c749a24b9c10b86e41204bb6 (diff)
parent0e4629fb041a2f643f401b61047e562dbcf03986 (diff)
Merge "test(el3-runtime): check DIT is retained on exception"
Diffstat (limited to 'include/common')
-rw-r--r--include/common/test_helpers.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/common/test_helpers.h b/include/common/test_helpers.h
index 05ecbb8..c628ee8 100644
--- a/include/common/test_helpers.h
+++ b/include/common/test_helpers.h
@@ -90,6 +90,15 @@ typedef test_result_t (*test_function_arg_t)(void *arg);
} \
} while (0)
+#define SKIP_TEST_IF_DIT_NOT_SUPPORTED() \
+ do { \
+ if (!is_armv8_4_dit_present()) { \
+ tftf_testcase_printf( \
+ "DIT not supported\n"); \
+ return TEST_RESULT_SKIPPED; \
+ } \
+ } while (0)
+
#define SKIP_TEST_IF_PAUTH_NOT_SUPPORTED() \
do { \
if (!is_armv8_3_pauth_present()) { \