Updates the ztest_test_fail() function to allow failures in setup. When executed, a failed assert will fail every test in the suite owning the setup function. This was verified by adding a suite which asserts in the setup function and has a test that should pass. During exeuction, ztest marks the test as failing. In order to verify exection I also added 2 new APIs: - ZTEST_EXPECT_FAIL(suite_name, test_name) - ZTEST_EXPECT_SKIP(suite_name, test_name) Signed-off-by: Yuval Peress <peress@google.com> |
||
|---|---|---|
| .. | ||
| common-rom | ||
| app_smem_aligned.ld | ||
| app_smem_pinned_aligned.ld | ||
| app_smem_pinned_unaligned.ld | ||
| app_smem_pinned.ld | ||
| app_smem_unaligned.ld | ||
| app_smem.ld | ||
| common-noinit.ld | ||
| common-ram.ld | ||
| common-rom.ld | ||
| cplusplus-ram.ld | ||
| cplusplus-rom.ld | ||
| debug-sections.ld | ||
| device-handles.ld | ||
| devicetree_regions.h | ||
| intlist.ld | ||
| irq-vector-table-section.ld | ||
| kobject-data.ld | ||
| kobject-priv-stacks.ld | ||
| kobject-rom.ld | ||
| kobject-text.ld | ||
| linker-defs.h | ||
| linker-tool-gcc.h | ||
| linker-tool-mwdt.h | ||
| linker-tool.h | ||
| rel-sections.ld | ||
| section_tags.h | ||
| sections.h | ||
| thread-local-storage.ld | ||
| utils.h | ||