zephyr/tests/subsys
Tom Burdick dbc366918d tests: Enable qemu_xtensa logging tests
Enables logging testing for qemu_xtensa along with the fixes needed to
correctly run the tests.

Several tests in log_api rely on being able to calculate the size of
the message in the mpsc_pbuf to know when an overflow occurs. The
size being calculated assumed a ROUND_UP size alignment to sizeof(long
long). On xtensa this is actually 16 bytes as defined by
CBPRINTF_PACKAGE_ALIGNMENT.

Changes the size calculation for SIMPLE_MSG_LEN to account for this.

The second issue was a misaligned package that would cause reading
from the incorrect memory when going to format the package with cbpprintf.

Fixes the padding used to align the package in cbprintf.h and adds a build
assert ensuring correct alignment when building against xtensa in both
cbprintf.h and log_msg.h.

Signed-off-by: Tom Burdick <thomas.burdick@intel.com>
2022-11-04 11:02:27 -04:00
..
canbus/isotp drivers: can: skip all CAN loopback mode tests for kvaser,pcican 2022-11-01 15:22:31 -04:00
cpp tests: add missing 'picolibc' tag to cpp test 2022-10-31 16:39:20 +09:00
debug tests: move to using CONFIG_MP_MAX_NUM_CPUS 2022-10-20 22:04:10 +09:00
dfu dfu: include MCUboot's bootutil_public.h 2022-09-19 18:36:37 +02:00
edac includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
emul emul: Add EMUL_DT_GET 2022-08-17 15:47:52 +00:00
fs drivers: flashdisk: remove all DISK_FLASH* Kconfig options 2022-10-28 12:45:58 +02:00
ipc/ipc_service tests: ipc_service: Add ipc_service test of deregistered endpoint 2022-10-11 13:03:29 +02:00
jwt test: fix more legacy #include paths 2022-08-02 16:41:41 +01:00
logging tests: Enable qemu_xtensa logging tests 2022-11-04 11:02:27 -04:00
mgmt tests/mgmt/mcumgr/smp_reassembly: Rename mgmt_hdr to smp_hdr 2022-11-03 13:04:45 +01:00
modbus modbus: add user data for adu callback 2022-09-02 10:51:57 +02:00
openthread ztest: remove the obsolete NULL appended to zassert macros 2022-09-09 07:05:38 -04:00
pm drivers: power_domain: Update drivers to use devicetree Kconfig symbol 2022-11-02 15:41:17 +09:00
portability tests: move to using CONFIG_MP_MAX_NUM_CPUS 2022-10-20 22:04:10 +09:00
rtio/rtio_api test: fix more legacy #include paths 2022-08-02 16:41:41 +01:00
sd/sdmmc includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
settings ztest: remove the obsolete NULL appended to zassert macros 2022-09-09 07:05:38 -04:00
shell tests: shell: add missing assert 2022-09-06 14:12:33 +00:00
storage storage/flash_map: Macros for accessing fixed-partitions 2022-09-06 09:56:37 +02:00
tracing/tracing_api tests: tracing_api: move to new ztest API 2022-09-08 10:39:10 +02:00
usb tests: subsys: usb: device: add zassert to judge whether USB enable 2022-09-02 11:23:31 +00:00