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:
parent
42f4538e40
commit
006b97de13
1 changed files with 1 additions and 3 deletions
|
@ -4,7 +4,6 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
#include <zephyr.h>
|
||||
#include <ztest.h>
|
||||
|
||||
/* The only point to CONFIG_MULTITHREADING=n is to use Zephyr's
|
||||
* multiplatform toolchain, linkage and boostrap integration to arrive
|
||||
|
@ -15,6 +14,5 @@
|
|||
*/
|
||||
void test_main(void)
|
||||
{
|
||||
TC_PRINT("It works\n");
|
||||
TC_END_REPORT(TC_PASS);
|
||||
printk("It works\n");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue