diff options
author | Manish Pandey <manish.pandey2@arm.com> | 2020-07-27 13:57:21 +0000 |
---|---|---|
committer | TrustedFirmware Code Review <review@review.trustedfirmware.org> | 2020-07-27 13:57:21 +0000 |
commit | 8a669d956699e967ca7f298d4bf74111c10dd164 (patch) | |
tree | 3ca54a71167a91304db18c5ee891ce2f831f03b6 /spm/cactus/cactus_tests_misc.c | |
parent | d07b682769c1861bf12ef3a9177c62796c5c9d2b (diff) | |
parent | 57c6ddbfddeb0d5ebe27d62b426bb1029fe8d622 (diff) | |
download | tf-a-tests-8a669d956699e967ca7f298d4bf74111c10dd164.tar.gz |
Merge changes from topic "ffa_tests"
* changes:
Cactus: tidying FFA_VERSION test.
Cactus: FFA_PARTITION_INFO_GET test.
Cactus: FFA_FEATURES test.
SPM: TFTF test of FFA_FEATURES interface.
Diffstat (limited to 'spm/cactus/cactus_tests_misc.c')
-rw-r--r-- | spm/cactus/cactus_tests_misc.c | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/spm/cactus/cactus_tests_misc.c b/spm/cactus/cactus_tests_misc.c deleted file mode 100644 index 39eb75222..000000000 --- a/spm/cactus/cactus_tests_misc.c +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (c) 2018, Arm Limited. All rights reserved. - * - * SPDX-License-Identifier: BSD-3-Clause - */ - -#include <assert.h> -#include <debug.h> -#include <errno.h> -#include <sp_helpers.h> -#include <spm_svc.h> -#include <sprt_client.h> -#include <sprt_svc.h> -#include <stdint.h> - -#include "cactus.h" -#include "cactus_tests.h" - -/* - * Miscellaneous SPM tests. - */ -void misc_tests(void) -{ - int32_t ret; - - const char *test_sect_desc = "miscellaneous"; - - announce_test_section_start(test_sect_desc); - - const char *test_version_sprt = "SPRT version check"; - - announce_test_start(test_version_sprt); - ret = sprt_version(); - INFO("Version = 0x%x (%u.%u)\n", ret, - (ret >> SPRT_VERSION_MAJOR_SHIFT) & SPRT_VERSION_MAJOR_MASK, - ret & SPRT_VERSION_MINOR_MASK); - expect(ret, SPRT_VERSION_COMPILED); - announce_test_end(test_version_sprt); - - announce_test_section_end(test_sect_desc); -} |