Sandrine Bailleux | 3cd87d7 | 2018-10-09 11:12:55 +0200 | [diff] [blame] | 1 | /* |
Deepika Bhavnani | c249d5e | 2020-02-06 16:29:45 -0600 | [diff] [blame^] | 2 | * Copyright (c) 2018-2020, 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 | |
| 11 | extern void inject_uncontainable(void); |
| 12 | |
| 13 | test_result_t test_uncontainable(void) |
| 14 | { |
| 15 | inject_uncontainable(); |
| 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 |