[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 4/7] target/xtensa: tests: run tests with icount
From: |
Max Filippov |
Subject: |
[Qemu-devel] [PATCH 4/7] target/xtensa: tests: run tests with icount |
Date: |
Sun, 15 Jan 2017 13:10:14 -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 <address@hidden>
---
tests/tcg/xtensa/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/tcg/xtensa/Makefile b/tests/tcg/xtensa/Makefile
index 7f9f2d9..2882c43 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
--
2.1.4
- [Qemu-devel] [PATCH 0/7] target/xtensa: refactor timers, Max Filippov, 2017/01/15
- [Qemu-devel] [PATCH 1/7] target/xtensa: refactor CCOUNT/CCOMPARE, Max Filippov, 2017/01/15
- [Qemu-devel] [PATCH 4/7] target/xtensa: tests: run tests with icount,
Max Filippov <=
- [Qemu-devel] [PATCH 3/7] target/xtensa: don't continue translation after exception, Max Filippov, 2017/01/15
- [Qemu-devel] [PATCH 5/7] target/xtensa: tests: fix timer tests, Max Filippov, 2017/01/15
- [Qemu-devel] [PATCH 2/7] target/xtensa: support icount, Max Filippov, 2017/01/15
- [Qemu-devel] [PATCH 6/7] target/xtensa: tests: replace hardcoded interrupt masks, Max Filippov, 2017/01/15
- [Qemu-devel] [PATCH 7/7] target/xtensa: tests: add ccount write tests, Max Filippov, 2017/01/15