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 /gold/descriptors.h | |
parent | 3624a6c15ce48e03d43983ec11d586d97ca08728 (diff) | |
download | binutils-37a9c3a53e3705c5120506e457455642702845e6.zip binutils-37a9c3a53e3705c5120506e457455642702845e6.tar.gz binutils-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 'gold/descriptors.h')
0 files changed, 0 insertions, 0 deletions