zephyr/subsys/testsuite
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
..
coverage
include
ztest subsys/testsuite: Shorten the assertion messages 2020-05-13 16:23:39 +02:00
CMakeLists.txt
Kconfig testsuite: Allow user to override minimal logging 2020-05-07 23:47:55 -05:00
unittest.cmake sanitycheck: support coverage with unit tests 2020-04-29 09:01:06 -04:00