summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorAntonio Nino Diaz <antonio.ninodiaz@arm.com>2017-01-30 16:45:20 +0000
committerAntonio Nino Diaz <antonio.ninodiaz@arm.com>2017-02-07 17:25:27 +0000
commite61267114875aea57e2614a1c2b9f6f30ab40b71 (patch)
treedc7cce9fa896b14a9524b51c53f07f3de22fdac3 /framework
parent285ff6cc8d01e24940b654c1c67dc38c5ab931b5 (diff)
Add file with test helper functions
There are some small functions that can potentially be reused by different tests. Instead of having them in individual test files, a new file called test_helpers.c (and its associated header) have been created. For now it includes helpers to check if the system supports system suspend, if the system is ready to perform a system suspend, and if the system supports PSCI_STAT_COUNT. Change-Id: Id1851dcc1c84f9180035c4ada3186e2f7913709f Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
Diffstat (limited to 'framework')
-rw-r--r--framework/framework.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/framework/framework.mk b/framework/framework.mk
index fa18db9..c86a887 100644
--- a/framework/framework.mk
+++ b/framework/framework.mk
@@ -80,7 +80,8 @@ FRAMEWORK_SOURCES := ${AUTOGEN_DIR}/tests_list.c \
plat/common/plat_common.c \
plat/common/plat_state_id.c \
plat/common/plat_topology.c \
- plat/common/tftf_nvm_accessors.c
+ plat/common/tftf_nvm_accessors.c \
+ tests/common/test_helpers.c
TFTF_LINKERFILE := framework/tftf.ld.S