]> xenbits.xensource.com Git - qemu-xen.git/commitdiff
tests/tcg/xtensa: enable boolean tests
authorMax Filippov <jcmvbkbc@gmail.com>
Mon, 18 Feb 2019 14:22:41 +0000 (06:22 -0800)
committerMax Filippov <jcmvbkbc@gmail.com>
Thu, 28 Feb 2019 12:43:23 +0000 (04:43 -0800)
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>
tests/tcg/xtensa/Makefile
tests/tcg/xtensa/test_boolean.S

index b3693809372bf07184804926d9054decd698a950..aee0134ef5b9e680bdf8a9b22db08279cce85dc2 100644 (file)
@@ -31,7 +31,7 @@ CRT        = crt.o vectors.o
 
 TESTCASES += test_b.tst
 TESTCASES += test_bi.tst
-#TESTCASES += test_boolean.tst
+TESTCASES += test_boolean.tst
 TESTCASES += test_break.tst
 TESTCASES += test_bz.tst
 TESTCASES += test_cache.tst
index eac40e0973a3cb821053b13fedd14853f4f770bb..5a850bfe7eac93baf2f76e4ab816a290ada595e7 100644 (file)
@@ -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