Ram Gandikota
/
ABCD
A metronome using the FRDM K64F board
pal/Test/Unitest/pal_rtos_test_runner.c@0:a7a43371b306, 2017-05-14 (annotated)
- Committer:
- ram54288
- Date:
- Sun May 14 18:40:18 2017 +0000
- Revision:
- 0:a7a43371b306
Initial commit
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
ram54288 | 0:a7a43371b306 | 1 | /* |
ram54288 | 0:a7a43371b306 | 2 | * Copyright (c) 2016 ARM Limited. All rights reserved. |
ram54288 | 0:a7a43371b306 | 3 | * SPDX-License-Identifier: Apache-2.0 |
ram54288 | 0:a7a43371b306 | 4 | * Licensed under the Apache License, Version 2.0 (the License); you may |
ram54288 | 0:a7a43371b306 | 5 | * not use this file except in compliance with the License. |
ram54288 | 0:a7a43371b306 | 6 | * You may obtain a copy of the License at |
ram54288 | 0:a7a43371b306 | 7 | * |
ram54288 | 0:a7a43371b306 | 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
ram54288 | 0:a7a43371b306 | 9 | * |
ram54288 | 0:a7a43371b306 | 10 | * Unless required by applicable law or agreed to in writing, software |
ram54288 | 0:a7a43371b306 | 11 | * distributed under the License is distributed on an AS IS BASIS, WITHOUT |
ram54288 | 0:a7a43371b306 | 12 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
ram54288 | 0:a7a43371b306 | 13 | * See the License for the specific language governing permissions and |
ram54288 | 0:a7a43371b306 | 14 | * limitations under the License. |
ram54288 | 0:a7a43371b306 | 15 | */ |
ram54288 | 0:a7a43371b306 | 16 | |
ram54288 | 0:a7a43371b306 | 17 | #include "unity.h" |
ram54288 | 0:a7a43371b306 | 18 | #include "unity_fixture.h" |
ram54288 | 0:a7a43371b306 | 19 | |
ram54288 | 0:a7a43371b306 | 20 | |
ram54288 | 0:a7a43371b306 | 21 | TEST_GROUP_RUNNER(pal_rtos) |
ram54288 | 0:a7a43371b306 | 22 | { |
ram54288 | 0:a7a43371b306 | 23 | #if (PAL_INCLUDE || BASIC_RTOS_UNITY_TESTS || pal_osKernelSysTick_Unity) |
ram54288 | 0:a7a43371b306 | 24 | RUN_TEST_CASE(pal_rtos, pal_osKernelSysTick_Unity); |
ram54288 | 0:a7a43371b306 | 25 | #endif |
ram54288 | 0:a7a43371b306 | 26 | #if (PAL_INCLUDE || BASIC_RTOS_UNITY_TESTS || pal_osKernelSysTick64_Unity) |
ram54288 | 0:a7a43371b306 | 27 | RUN_TEST_CASE(pal_rtos, pal_osKernelSysTick64_Unity); |
ram54288 | 0:a7a43371b306 | 28 | #endif |
ram54288 | 0:a7a43371b306 | 29 | #if (PAL_INCLUDE || BASIC_RTOS_UNITY_TESTS || pal_osKernelSysTickMicroSec_Unity) |
ram54288 | 0:a7a43371b306 | 30 | RUN_TEST_CASE(pal_rtos, pal_osKernelSysTickMicroSec_Unity); |
ram54288 | 0:a7a43371b306 | 31 | #endif |
ram54288 | 0:a7a43371b306 | 32 | #if (PAL_INCLUDE || BASIC_RTOS_UNITY_TESTS || pal_osKernelSysMilliSecTick_Unity) |
ram54288 | 0:a7a43371b306 | 33 | RUN_TEST_CASE(pal_rtos, pal_osKernelSysMilliSecTick_Unity); |
ram54288 | 0:a7a43371b306 | 34 | #endif |
ram54288 | 0:a7a43371b306 | 35 | #if (PAL_INCLUDE || BASIC_RTOS_UNITY_TESTS || pal_osKernelSysTickFrequency_Unity) |
ram54288 | 0:a7a43371b306 | 36 | RUN_TEST_CASE(pal_rtos, pal_osKernelSysTickFrequency_Unity); |
ram54288 | 0:a7a43371b306 | 37 | #endif |
ram54288 | 0:a7a43371b306 | 38 | #if (PAL_INCLUDE || BASIC_RTOS_UNITY_TESTS || pal_osDelay_Unity) |
ram54288 | 0:a7a43371b306 | 39 | RUN_TEST_CASE(pal_rtos, pal_osDelay_Unity); |
ram54288 | 0:a7a43371b306 | 40 | #endif |
ram54288 | 0:a7a43371b306 | 41 | #if (PAL_INCLUDE || BASIC_RTOS_UNITY_TESTS || BasicTimeScenario) |
ram54288 | 0:a7a43371b306 | 42 | RUN_TEST_CASE(pal_rtos, BasicTimeScenario); |
ram54288 | 0:a7a43371b306 | 43 | #endif |
ram54288 | 0:a7a43371b306 | 44 | #if (PAL_INCLUDE || BASIC_RTOS_UNITY_TESTS || TimerUnityTest) |
ram54288 | 0:a7a43371b306 | 45 | RUN_TEST_CASE(pal_rtos, TimerUnityTest); |
ram54288 | 0:a7a43371b306 | 46 | #endif |
ram54288 | 0:a7a43371b306 | 47 | #if (PAL_INCLUDE || BASIC_RTOS_UNITY_TESTS || MemoryPoolUnityTest) |
ram54288 | 0:a7a43371b306 | 48 | RUN_TEST_CASE(pal_rtos, MemoryPoolUnityTest); |
ram54288 | 0:a7a43371b306 | 49 | #endif |
ram54288 | 0:a7a43371b306 | 50 | #if (PAL_INCLUDE || BASIC_RTOS_UNITY_TESTS || MessageUnityTest) |
ram54288 | 0:a7a43371b306 | 51 | RUN_TEST_CASE(pal_rtos, MessageUnityTest); |
ram54288 | 0:a7a43371b306 | 52 | #endif |
ram54288 | 0:a7a43371b306 | 53 | #if (PAL_INCLUDE || BASIC_RTOS_UNITY_TESTS || AtomicIncrementUnityTest) |
ram54288 | 0:a7a43371b306 | 54 | RUN_TEST_CASE(pal_rtos, AtomicIncrementUnityTest); |
ram54288 | 0:a7a43371b306 | 55 | #endif |
ram54288 | 0:a7a43371b306 | 56 | |
ram54288 | 0:a7a43371b306 | 57 | #if (PAL_INCLUDE || PRIMITIVES_UNITY_TEST || PrimitivesUnityTest1) |
ram54288 | 0:a7a43371b306 | 58 | RUN_TEST_CASE(pal_rtos, PrimitivesUnityTest1); |
ram54288 | 0:a7a43371b306 | 59 | #endif |
ram54288 | 0:a7a43371b306 | 60 | #if (PAL_INCLUDE || PRIMITIVES_UNITY_TEST || PrimitivesUnityTest2) |
ram54288 | 0:a7a43371b306 | 61 | RUN_TEST_CASE(pal_rtos, PrimitivesUnityTest2); |
ram54288 | 0:a7a43371b306 | 62 | #endif |
ram54288 | 0:a7a43371b306 | 63 | #if (PAL_INCLUDE || PAL_INIT_REFERENCE || pal_init_test) |
ram54288 | 0:a7a43371b306 | 64 | RUN_TEST_CASE(pal_rtos, pal_init_test); |
ram54288 | 0:a7a43371b306 | 65 | #endif |
ram54288 | 0:a7a43371b306 | 66 | #if (CustomizedTest) |
ram54288 | 0:a7a43371b306 | 67 | RUN_TEST_CASE(pal_rtos, CustomizedTest); |
ram54288 | 0:a7a43371b306 | 68 | #endif |
ram54288 | 0:a7a43371b306 | 69 | } |
ram54288 | 0:a7a43371b306 | 70 |