tests/tcg/xtensa: add straightforward conditionals

Make tests for optional instruction groups conditional on the presence
of corresponding options in the config.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
This commit is contained in:
Max Filippov 2019-02-18 06:40:38 -08:00
parent ecf5b57759
commit 50f0171a95
12 changed files with 52 additions and 0 deletions

View file

@ -2,6 +2,8 @@
test_suite loop
#if XCHAL_HAVE_LOOPS
test loop
movi a2, 0
movi a3, 5
@ -160,4 +162,6 @@ test loopgtz
1:
test_end
#endif
test_suite_end