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>
This commit is contained in:
Max Filippov 2016-12-27 02:01:48 -08:00
parent 787eaa4904
commit 122d302053

View File

@ -5,7 +5,7 @@ CROSS=xtensa-$(CORE)-elf-
ifndef XT ifndef XT
SIM = ../../../xtensa-softmmu/qemu-system-xtensa 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 SIMDEBUG = -s -S
else else
SIM = xt-run SIM = xt-run