tests: native: do not kill process when test completes

We can now send a signal and exit gracefully. This is to maintain
consistency across other runners and samples that can run natively but
do not have a test hook or macro to kill the application in completion.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2017-12-29 08:57:21 -05:00 committed by Anas Nashif
parent 5d3a534807
commit 07c9163f67

View file

@ -84,14 +84,7 @@
#define TC_END_RESULT(result) \
_TC_END_RESULT((result), __func__)
#if defined CONFIG_ARCH_POSIX
#define TC_END_POST \
do { \
main_clean_up(0); \
} while (0)
#else
#define TC_END_POST
#endif
#define TC_END_REPORT(result) \
do { \