tests: Verify build fails with mismatched byte order
This tests the byte order check added in the previous commit `Check that
native byte orders match at compilation`.
Change `byte-order-yes.yaml`:
This test configuration now defines the tracer byte order with
`native-byte-order: big-endian` (instead of
`trace-byte-order: big-endian`) so that this configuration can be used
both for the configuration tests and for the new byte order check test.
The `native-byte-order` property is used so that the C preprocessor
check will be present in the generated C code. The byte order is set to
`big-endian` so that building the generated C will fail on a
little-endian system.
This change does not reduce the test coverage because:
a. `byte-order-yes.yaml` still tests that using one of the two byte
order properties is a valid configuration, and
b. The `trace-byte-order` property is tested via
`trace-byte-order-big-endian.yaml` in the tracing tests.
Change-Id: Ic2aa7bdc7e56881233efe2e25153dc4e65ba309a
Signed-off-by: Erica Bugden <ebugden@efficios.com>
This page took 0.026283 seconds and 4 git commands to generate.