feat(fpmr): test FPMR register access

Change-Id: I326690564d01596fb4f4b449f4f314699ccfe3c4
Signed-off-by: Arvind Ram Prakash <arvind.ramprakash@arm.com>
diff --git a/include/common/test_helpers.h b/include/common/test_helpers.h
index 6b41e51..8de7a86 100644
--- a/include/common/test_helpers.h
+++ b/include/common/test_helpers.h
@@ -319,6 +319,14 @@
 		}								\
 	} while (false)
 
+#define SKIP_TEST_IF_FPMR_NOT_SUPPORTED()					\
+	do {									\
+		if(!is_feat_fpmr_present()) {					\
+			tftf_testcase_printf("FEAT_FPMR not supported\n");	\
+			return TEST_RESULT_SKIPPED;				\
+		}								\
+	} while (false)
+
 #define SKIP_TEST_IF_RME_NOT_SUPPORTED_OR_RMM_IS_TRP()				\
 	do {									\
 		u_register_t retrmm = 0U;					\