tests/tcg/xtensa: conditionalize interrupt tests
commit9c988226195c3d2b611352a76c0d8bd835ecb75b
authorMax Filippov <jcmvbkbc@gmail.com>
Mon, 18 Feb 2019 14:50:10 +0000 (18 06:50 -0800)
committerMax Filippov <jcmvbkbc@gmail.com>
Thu, 28 Feb 2019 12:43:23 +0000 (28 04:43 -0800)
tree32238bdda19940b21eede41074a28ec771188bc9
parent50f0171a9543f7a40abdbd36714fb1201cdc47b0
tests/tcg/xtensa: conditionalize interrupt tests

Make interrupt tests conditional on the presence of interrupt option and
on the presence of level-1 and high level software interrupts. Don't use
hard-coded interrupt level for the high level interrupt tests, choose
high level software IRQ and use its configured level.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
tests/tcg/xtensa/macros.inc
tests/tcg/xtensa/test_interrupt.S