]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
target/xtensa: tests: run tests with icount
authorMax Filippov <jcmvbkbc@gmail.com>
Tue, 27 Dec 2016 10:01:48 +0000 (02:01 -0800)
committerMax Filippov <jcmvbkbc@gmail.com>
Sun, 15 Jan 2017 21:01:56 +0000 (13:01 -0800)
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>
tests/tcg/xtensa/Makefile

index 7f9f2d96c3708e8b754b8be238f62df8eabab503..2882c431e4a9814704c97da46b0db536cfaf913f 100644 (file)
@@ -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