tests: no-multithreading: do not report success twice

We are reporting success twice, once by calling macro directly, and once
by using ztest test_main().

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2019-03-26 12:04:03 -04:00
commit 006b97de13

View file

@ -4,7 +4,6 @@
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*/ */
#include <zephyr.h> #include <zephyr.h>
#include <ztest.h>
/* The only point to CONFIG_MULTITHREADING=n is to use Zephyr's /* The only point to CONFIG_MULTITHREADING=n is to use Zephyr's
* multiplatform toolchain, linkage and boostrap integration to arrive * multiplatform toolchain, linkage and boostrap integration to arrive
@ -15,6 +14,5 @@
*/ */
void test_main(void) void test_main(void)
{ {
TC_PRINT("It works\n"); printk("It works\n");
TC_END_REPORT(TC_PASS);
} }