tests/tcg/xtensa: conditionalize timer/CCOUNT tests
commit02a5a4a8774b65ca619297bba4fe6e51bf9023d1
authorMax Filippov <jcmvbkbc@gmail.com>
Mon, 18 Feb 2019 14:55:15 +0000 (18 06:55 -0800)
committerMax Filippov <jcmvbkbc@gmail.com>
Thu, 28 Feb 2019 12:43:23 +0000 (28 04:43 -0800)
tree2301793e020e8d21f94f9e1e7bee912ccbeb6bff
parent9c988226195c3d2b611352a76c0d8bd835ecb75b
tests/tcg/xtensa: conditionalize timer/CCOUNT tests

Make timer/CCOUNT tests conditional on the presence of timer option and
number of configured timers. Don't use hard coded interrupt levels for
timers, use configured values.

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