Fork for workshops

Committer:
JimCarver
Date:
Fri Oct 12 21:22:49 2018 +0000
Revision:
0:6b753f761943
Initial commit

Who changed what in which revision?

UserRevisionLine numberNew contents of line
JimCarver 0:6b753f761943 1 /*******************************************************************************
JimCarver 0:6b753f761943 2 * Copyright 2016, 2017 ARM Ltd.
JimCarver 0:6b753f761943 3 *
JimCarver 0:6b753f761943 4 * Licensed under the Apache License, Version 2.0 (the "License");
JimCarver 0:6b753f761943 5 * you may not use this file except in compliance with the License.
JimCarver 0:6b753f761943 6 * You may obtain a copy of the License at
JimCarver 0:6b753f761943 7 *
JimCarver 0:6b753f761943 8 * http://www.apache.org/licenses/LICENSE-2.0
JimCarver 0:6b753f761943 9 *
JimCarver 0:6b753f761943 10 * Unless required by applicable law or agreed to in writing, software
JimCarver 0:6b753f761943 11 * distributed under the License is distributed on an "AS IS" BASIS,
JimCarver 0:6b753f761943 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
JimCarver 0:6b753f761943 13 * See the License for the specific language governing permissions and
JimCarver 0:6b753f761943 14 * limitations under the License.
JimCarver 0:6b753f761943 15 *******************************************************************************/
JimCarver 0:6b753f761943 16
JimCarver 0:6b753f761943 17 #include "unity.h"
JimCarver 0:6b753f761943 18 #include "unity_fixture.h"
JimCarver 0:6b753f761943 19 #include "test_runners.h"
JimCarver 0:6b753f761943 20
JimCarver 0:6b753f761943 21 extern palTestsStatusData_t palTestStatus;
JimCarver 0:6b753f761943 22
JimCarver 0:6b753f761943 23 TEST_GROUP_RUNNER(pal_SOTP)
JimCarver 0:6b753f761943 24 {
JimCarver 0:6b753f761943 25 switch (palTestStatus.test)
JimCarver 0:6b753f761943 26 {
JimCarver 0:6b753f761943 27 case -1:
JimCarver 0:6b753f761943 28 case PAL_TEST_SOTP_TEST_SW_HW_ROT:
JimCarver 0:6b753f761943 29 RUN_TEST_CASE(pal_SOTP, SW_HW_RoT);
JimCarver 0:6b753f761943 30 case PAL_TEST_SOTP_TEST_TIME_INIT:
JimCarver 0:6b753f761943 31 RUN_TEST_CASE(pal_SOTP, timeInit);
JimCarver 0:6b753f761943 32 case PAL_TEST_SOTP_TEST_RANDOM:
JimCarver 0:6b753f761943 33 RUN_TEST_CASE(pal_SOTP, random);
JimCarver 0:6b753f761943 34 break;
JimCarver 0:6b753f761943 35 default:
JimCarver 0:6b753f761943 36 PAL_PRINTF("This should not happen\r\n");
JimCarver 0:6b753f761943 37 }
JimCarver 0:6b753f761943 38 }