Sandrine Bailleux | 3cd87d7 | 2018-10-09 11:12:55 +0200 | [diff] [blame] | 1 | /* |
Manish Pandey | 5d1e6fe | 2023-01-14 00:13:08 +0000 | [diff] [blame] | 2 | * Copyright (c) 2018-2023, Arm Limited. All rights reserved. |
Sandrine Bailleux | 3cd87d7 | 2018-10-09 11:12:55 +0200 | [diff] [blame] | 3 | * |
| 4 | * SPDX-License-Identifier: BSD-3-Clause |
| 5 | */ |
| 6 | |
| 7 | #include <tftf_lib.h> |
| 8 | |
Deepika Bhavnani | c249d5e | 2020-02-06 16:29:45 -0600 | [diff] [blame] | 9 | #ifdef __aarch64__ |
Sandrine Bailleux | 3cd87d7 | 2018-10-09 11:12:55 +0200 | [diff] [blame] | 10 | |
Manish Pandey | 5d1e6fe | 2023-01-14 00:13:08 +0000 | [diff] [blame] | 11 | extern void inject_uncontainable_ras_error(void); |
Sandrine Bailleux | 3cd87d7 | 2018-10-09 11:12:55 +0200 | [diff] [blame] | 12 | |
| 13 | test_result_t test_uncontainable(void) |
| 14 | { |
Manish Pandey | 5d1e6fe | 2023-01-14 00:13:08 +0000 | [diff] [blame] | 15 | inject_uncontainable_ras_error(); |
Sandrine Bailleux | 3cd87d7 | 2018-10-09 11:12:55 +0200 | [diff] [blame] | 16 | |
| 17 | return TEST_RESULT_SUCCESS; |
| 18 | } |
| 19 | |
| 20 | #else |
| 21 | |
| 22 | test_result_t test_uncontainable(void) |
| 23 | { |
| 24 | tftf_testcase_printf("Not supported on AArch32.\n"); |
| 25 | return TEST_RESULT_SKIPPED; |
| 26 | } |
| 27 | |
| 28 | #endif |