zephyr/tests
Evgeniy Paltsev 4b9828c2a8 tests: logging: fix build error
Currently we get the build error when building
'tests/subsys/logging/log_backend_uart':

error: static_assert expression is not an integral constant expression
BUILD_ASSERT(strlen(TEST_DATA) < SAMPLE_DATA_SIZE);
~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

It can be easily workarounded by using sizeof instead of strlen
to calculate string size.

Signed-off-by: Evgeniy Paltsev <PaltsevEvgeniy@gmail.com>
Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
2024-07-09 08:49:05 +02:00
..
application_development
arch
benchmarks
bluetooth test: bluetooth: Update ICS to TCRL 2024-1 2024-07-08 14:57:12 -04:00
boards
boot
bsim
cmake
crypto
drivers tests: adc: Add 'zephyr,vref-mv' property. 2024-07-08 14:57:55 -04:00
integration/kernel
kconfig/configdefault
kernel
lib tests: cpp: add C++ coverage for pm/device.h 2024-07-08 17:20:26 -04:00
misc
modules
net
posix
robot
subsys tests: logging: fix build error 2024-07-09 08:49:05 +02:00
unit
ztest
test_config.yaml