blob: 5250f0a3301561c7c734cb25fcbb15fa8be5f0e7 [file] [log] [blame]
Sandrine Bailleux3cd87d72018-10-09 11:12:55 +02001/*
Manish Pandey5d1e6fe2023-01-14 00:13:08 +00002 * Copyright (c) 2018-2023, Arm Limited. All rights reserved.
Sandrine Bailleux3cd87d72018-10-09 11:12:55 +02003 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#include <tftf_lib.h>
8
Deepika Bhavnanic249d5e2020-02-06 16:29:45 -06009#ifdef __aarch64__
Sandrine Bailleux3cd87d72018-10-09 11:12:55 +020010
Manish Pandey5d1e6fe2023-01-14 00:13:08 +000011extern void inject_uncontainable_ras_error(void);
Sandrine Bailleux3cd87d72018-10-09 11:12:55 +020012
13test_result_t test_uncontainable(void)
14{
Manish Pandey5d1e6fe2023-01-14 00:13:08 +000015 inject_uncontainable_ras_error();
Sandrine Bailleux3cd87d72018-10-09 11:12:55 +020016
17 return TEST_RESULT_SUCCESS;
18}
19
20#else
21
22test_result_t test_uncontainable(void)
23{
24 tftf_testcase_printf("Not supported on AArch32.\n");
25 return TEST_RESULT_SKIPPED;
26}
27
28#endif