summaryrefslogtreecommitdiffstats
path: root/tests/tcg/xtensa
diff options
context:
space:
mode:
authorMax Filippov2016-12-27 11:01:48 +0100
committerMax Filippov2017-01-15 22:01:56 +0100
commit122d302053062af886c2272f1049017cbfdba7b3 (patch)
treeeaa35afdef5f68067996cf303d733484e66462bd /tests/tcg/xtensa
parenttarget/xtensa: don't continue translation after exception (diff)
downloadqemu-122d302053062af886c2272f1049017cbfdba7b3.tar.gz
qemu-122d302053062af886c2272f1049017cbfdba7b3.tar.xz
qemu-122d302053062af886c2272f1049017cbfdba7b3.zip
target/xtensa: tests: run tests with icount
Timer tests expect certain determinism in CCOUNT updates and timer interrupts firing. Run QEMU with -icount to get deterministic results. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'tests/tcg/xtensa')
-rw-r--r--tests/tcg/xtensa/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tcg/xtensa/Makefile b/tests/tcg/xtensa/Makefile
index 7f9f2d96c3..2882c431e4 100644
--- a/tests/tcg/xtensa/Makefile
+++ b/tests/tcg/xtensa/Makefile
@@ -5,7 +5,7 @@ CROSS=xtensa-$(CORE)-elf-
ifndef XT
SIM = ../../../xtensa-softmmu/qemu-system-xtensa
-SIMFLAGS = -M sim -cpu $(CORE) -nographic -semihosting $(EXTFLAGS) -kernel
+SIMFLAGS = -M sim -cpu $(CORE) -nographic -semihosting -icount 7 $(EXTFLAGS) -kernel
SIMDEBUG = -s -S
else
SIM = xt-run