diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-01-05 01:26:21 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-01-15 01:33:35 -0500 |
commit | 37a9c3a53e3705c5120506e457455642702845e6 (patch) | |
tree | bd55d53db865c08ba94edebf9e9b3a44538f97ae /ltoptions.m4 | |
parent | 3624a6c15ce48e03d43983ec11d586d97ca08728 (diff) | |
download | fsf-binutils-gdb-37a9c3a53e3705c5120506e457455642702845e6.zip fsf-binutils-gdb-37a9c3a53e3705c5120506e457455642702845e6.tar.gz fsf-binutils-gdb-37a9c3a53e3705c5120506e457455642702845e6.tar.bz2 |
sim: testsuite: allow tests to declare expected exit status
Some tests want to verify they can control the exit status, and
allowing any non-zero value would allow tests to silently fail:
if it crashed & exited 1, or forced all non-zero to 1, then we
wouldn't be able to differentiate with a test exiting with a
status like 47.
Extend the test harness to allow tests to declare their expected
exit status that would be defined as a "pass". This requires a
small tweak to the sim_run API to return the status directly, but
that shouldn't be a big deal as it's only used by sim code.
Diffstat (limited to 'ltoptions.m4')
0 files changed, 0 insertions, 0 deletions