zephyr/subsys/testsuite/ztest/include
Simon Glass 4b2c413e13 subsys/testsuite: Shorten the assertion messages
At present these can be very long since they include the full path of
the filename with the error.

    Assertion failed at /home/sglass/cosarm/zephry/zephyrproject/
	zephyr/tests/drivers/flash_simulator/src/main.c:102:
	test_write_read: (0 not equal to rc)

Reduce the length by omitting the current directory (where the tests
are being run) from the output:

    Assertion failed at tests/drivers/flash_simulator/src/main.c:102:
	test_write_read: (0 not equal to rc)

This improves usability for people running tests locally.

Signed-off-by: Simon Glass <sjg@chromium.org>
2020-05-13 16:23:39 +02:00
..
arch kernel: rename z_arch_ to arch_ 2019-11-07 15:21:46 -08:00
syscalls
offsets.h
syscall_list.h
syscall_macros.h
ztest.h headers: Refactor kernel and arch headers. 2019-11-06 16:07:32 -08:00
ztest_assert.h subsys/testsuite: Shorten the assertion messages 2020-05-13 16:23:39 +02:00
ztest_mock.h subsys/testsuite: Extended mocking API to support arrays 2020-05-04 12:00:02 +02:00
ztest_test.h ztest: fix ztest_1cpu_user_unit_test() 2019-12-09 12:40:47 -05:00