Marc Moreno Berengue | ffd3c46 | 2017-11-29 16:09:52 +0000 | [diff] [blame^] | 1 | /* |
| 2 | * Copyright (c) 2017, Arm Limited. All rights reserved. |
| 3 | * |
| 4 | * SPDX-License-Identifier: BSD-3-Clause |
| 5 | * |
| 6 | */ |
| 7 | |
| 8 | #include "integ_test.h" |
| 9 | #include "integ_test_helper.h" |
| 10 | #include "test_framework.h" |
| 11 | |
| 12 | /* Service specific includes */ |
| 13 | #include "test/suites/sst/non_secure/sst_ns_tests.h" |
| 14 | #include "test/suites/invert/non_secure/invert_ns_tests.h" |
| 15 | #include "test/suites/core/non_secure/core_ns_tests.h" |
| 16 | |
| 17 | static struct test_suite_t test_suites[] = { |
| 18 | #ifdef SERVICES_TEST_NS |
| 19 | /* Non-secure SST test cases */ |
| 20 | {®ister_testsuite_ns_sst_interface, 0, 0, 0}, |
| 21 | |
| 22 | #ifdef CORE_TEST_SERVICES |
| 23 | /* Non-secure invert test cases */ |
| 24 | /* Note: since this is sample code, only run if test services are enabled */ |
| 25 | {®ister_testsuite_ns_invert_interface, 0, 0, 0}, |
| 26 | #endif |
| 27 | #endif |
| 28 | |
| 29 | #ifdef CORE_TEST_POSITIVE |
| 30 | /* Non-secure core test cases */ |
| 31 | {®ister_testsuite_ns_core_positive, 0, 0, 0}, |
| 32 | #endif |
| 33 | |
| 34 | #ifdef CORE_TEST_INTERACTIVE |
| 35 | /* Non-secure interactive test cases */ |
| 36 | {®ister_testsuite_ns_core_interactive, 0, 0, 0}, |
| 37 | #endif |
| 38 | }; |
| 39 | |
| 40 | void start_integ_test(void) |
| 41 | { |
| 42 | integ_test("Non-secure", test_suites, |
| 43 | sizeof(test_suites)/sizeof(test_suites[0])); |
| 44 | } |