sim: sh: simplify testsuite a bit
authorMike Frysinger <vapier@gentoo.org>
Tue, 9 Nov 2021 06:22:06 +0000 (01:22 -0500)
committerMike Frysinger <vapier@gentoo.org>
Tue, 9 Nov 2021 06:22:06 +0000 (01:22 -0500)
commit024120b6ee344843b7d02e83e6fc0d5b33a3cd29
treec5815a8abbe30fe74464cc0f4bdd4765613fa54d
parent4e6e8ba7c565df88c41b468fbf4801b7445dea09
sim: sh: simplify testsuite a bit

Switch from the centralized list in the exp file to each test declaring
its own requirements which they're already (mostly) doing.  This will
increase coverage slightly by running more tests in more configurations
since the hardcoded exp list was a little out of date.

We have to mark the psh* tests as shdsp only (to match what the exp
file was doing), mark the fsca & fsrra tests as failing (since they
weren't even being run by the exp file), and to fix the expected
output & status of the fail test.
sim/testsuite/sh/allinsn.exp
sim/testsuite/sh/fail.s
sim/testsuite/sh/fsca.s
sim/testsuite/sh/fsrra.s
sim/testsuite/sh/pshai.s
sim/testsuite/sh/pshar.s
sim/testsuite/sh/pshli.s
sim/testsuite/sh/pshlr.s