When the header file is located in the same directory as the source file it is better to use a relative quote-include, e.g. than a system include like Avoiding the use of system includes in these cases is beneficial because; * The source code will be easier to build because there will be fewer system include paths. * It is easier for a user to determine where a quote-include header file is located than where a system include is located. * You are less likely to encounter aliasing issues if the list of system include paths is minimized. Authors: Anas Nashif Sebastian Bøe Signed-off-by: Sebastian Boe <sebastian.boe@nordicsemi.no> Signed-off-by: Anas Nashif <anas.nashif@intel.com>
23 lines
386 B
C
23 lines
386 B
C
/*
|
|
* Copyright (c) 2016 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
/**
|
|
* @addtogroup t_driver_rtc
|
|
* @{
|
|
* @defgroup t_rtc_basic_api test_rtc_basic_api
|
|
* @}
|
|
*/
|
|
|
|
#include "test_rtc.h"
|
|
|
|
void test_main(void)
|
|
{
|
|
ztest_test_suite(rtc_basic_test,
|
|
ztest_unit_test(test_rtc_alarm),
|
|
ztest_unit_test(test_rtc_calendar));
|
|
ztest_run_test_suite(rtc_basic_test);
|
|
}
|