Revision bc5cdb79

View differences:

os/core/inc/aos_unittest.h
20 20
#define _AMIROOS_UNITTEST_H_
21 21

  
22 22
#include <aosconf.h>
23
#if (AMIROOS_CFG_TESTS_ENABLE == true) || defined(__DOXYGEN__)
24

  
23 25
#include <hal.h>
24 26
#include <aos_shell.h>
25 27

  
26
#if (AMIROOS_CFG_TESTS_ENABLE == true) || defined(__DOXYGEN__)
27

  
28 28
/*
29 29
 * Forward declarations.
30 30
 */
os/core/src/aos_unittest.c
18 18

  
19 19
#include <aos_unittest.h>
20 20

  
21
#if (AMIROOS_CFG_TESTS_ENABLE == true) || defined(__DOXYGEN__)
21 22
#include <aos_debug.h>
22 23
#include <chprintf.h>
23 24
#include <string.h>
24 25

  
25
#if (AMIROOS_CFG_TESTS_ENABLE == true) || defined(__DOXYGEN__)
26

  
27 26
/**
28 27
 * @brief   Retrieve the total number of tests (passed and failed).
29 28
 *

Also available in: Unified diff