tests: Add macros.h include file

Just adding an empty file. The purpose of this header
file is to contain the definition of generic macros
used for the purpose of testing.

Signed-off-by: Ronald Cron <ronald.cron@arm.com>
This commit is contained in:
Ronald Cron 2020-06-09 13:52:23 +02:00
parent f91c495379
commit 4b8b199ead
2 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,34 @@
/**
* \file macros.h
*
* \brief This file contains generic macros for the purpose of testing.
*/
/* Copyright (C) 2020, ARM Limited, All Rights Reserved
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* This file is part of mbed TLS (https://tls.mbed.org)
*/
#ifndef TEST_MACROS_H
#define TEST_MACROS_H
#if !defined(MBEDTLS_CONFIG_FILE)
#include "mbedtls/config.h"
#else
#include MBEDTLS_CONFIG_FILE
#endif
#endif /* TEST_MACROS_H */

View File

@ -2,6 +2,8 @@
/*----------------------------------------------------------------------------*/
/* Headers */
#include <test/macros.h>
#include <stdlib.h>
#if defined(MBEDTLS_PLATFORM_C)