zephyr/tests/kernel/common/multilib.txt
Anas Nashif b16f89a094 tests: move multilib test to common/
A very minimal test that can join other tests under common.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2018-02-18 09:16:40 -05:00

20 lines
802 B
Plaintext

Title: Test multilib
Description:
Some architectures support different ISA variants, each backed a different
multilib in a same compiler. Selecting wrong multilib may have adverse
effects on performance, or sometime produce broken executables altogether
(for example, ARM Cortex-M requires thumb2 multilib and will be broken with
default ("arm") multilib or "thumb" multlib). This app is a smoke-test
for selecting non-wrong multilib - it uses operation(s) which guaranteedly
will call support routine(s) in libgcc and checks for expected result.
Sample failure output ("thumb" used on Cortex-M instead of "thumb2"):
***** USAGE FAULT *****
Executing thread ID (thread): 0x200002a0
Faulting instruction address: 0x00000000
Illegal use of the EPSR
Fatal fault in essential task ! Spinning...