zephyr/subsys/testsuite/ztest/include
Peter A. Bigot daed96802f subsys/testsuite: use bool for condition types
Use of the test suite in C++ causes warnings because use of defined
cast operators have the wrong target type.  For example, many standard
container APIs use operator bool() to test for empty containers.  Code
like zassert_true(v, "") fails to build when the test parameter is an
int.  Correct the argument type.

This also causes any use of an assignment expression as a conditional
in zassert to be diagnosed as a potential error.

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
2019-10-30 10:57:42 +01:00
..
arch ztest: add missing headers 2019-10-23 10:47:22 -04:00
syscalls logging: Add basic userspace support 2019-08-27 14:29:21 -04:00
kernel_arch_thread.h
offsets.h
syscall_list.h
syscall_macros.h
ztest_assert.h subsys/testsuite: use bool for condition types 2019-10-30 10:57:42 +01:00
ztest_mock.h subsys/testsuite: rearrange for standard use of extern "C" 2019-08-19 23:36:59 +02:00
ztest_test.h ztest: Add "1cpu" test variants for SMP 2019-09-26 16:54:06 -04:00
ztest.h subsys/testsuite: rearrange for standard use of extern "C" 2019-08-19 23:36:59 +02:00