aboutsummaryrefslogtreecommitdiff
path: root/tests/tcg/xtensa/test_boolean.S
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2019-02-18 06:22:41 -0800
committerMax Filippov <jcmvbkbc@gmail.com>2019-02-28 04:43:23 -0800
commit912f161ff7bbb64c7d5b2eb6f81f830c80a6ef9b (patch)
treea8326423d91eee6355f602f7417337249a685f8b /tests/tcg/xtensa/test_boolean.S
parent64eef9bf95a3d3759f2239f9e2b8425fc97858a7 (diff)
tests/tcg/xtensa: enable boolean tests
Uncomment test_boolean in the test makefile. Make actual tests code conditional on the presence of boolean option in the config. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'tests/tcg/xtensa/test_boolean.S')
-rw-r--r--tests/tcg/xtensa/test_boolean.S4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/tcg/xtensa/test_boolean.S b/tests/tcg/xtensa/test_boolean.S
index eac40e0973..5a850bfe7e 100644
--- a/tests/tcg/xtensa/test_boolean.S
+++ b/tests/tcg/xtensa/test_boolean.S
@@ -2,6 +2,8 @@
test_suite boolean
+#if XCHAL_HAVE_BOOLEANS
+
test all4
movi a2, 0xfec0
wsr a2, br
@@ -20,4 +22,6 @@ test all4
assert eq, a2, a3
test_end
+#endif
+
test_suite_end