tests/qtest: remove trace output from k230 watchdog test
PATCH 1/1 tests/qtest: remove trace output from k230 watchdog test
The interrupt mode test does not depend on trace output, but passes a trace file to QEMU. This makes startup fail when QEMU is built without the log or simple trace backend, so qtest cannot connect.
Drop the unnecessary trace option.
Resolves: https://gitlab.com/qemu-project/qemu/-/work_items/4126
--- tests/qtest/k230-wdt-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tests/qtest/k230-wdt-test.c +1 -1
@@ -76,7 +76,7 @@ static void test_counter_restart(void)static void test_interrupt_mode (void ) { -QTestState *qts =qtest_init ("-machine k230 --trace k230_*,file=k230.log" ); +QTestState *qts =qtest_init ("-machine k230" );/* Set interrupt mode and enable watchdog */ qtest_writel(qts, WDT_BASE + K230_WDT_CR,
Signature · 1 line
2.54.0
Quoted 5 lines · Chao Liu
The interrupt mode test does not depend on trace output, but passes a trace file to QEMU. This makes startup fail when QEMU is built without the log or simple trace backend, so qtest cannot connect.
Quoted 9 lines
Drop the unnecessary trace option.
Resolves: https://gitlab.com/qemu-project/qemu/-/work_items/4126
Signed-off-by Chao Liu <[email protected]>--- tests/qtest/k230-wdt-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Alistair
AppliedQuoted 10 lines · Chao Liu
The interrupt mode test does not depend on trace output, but passes a trace file to QEMU. This makes startup fail when QEMU is built without
the log or simple trace backend, so qtest cannot connect.Drop the unnecessary trace option.
Resolves: https://gitlab.com/qemu-project/qemu/-/work_items/4126
Signed-off-by Chao Liu <[email protected]>
Thanks!
Applied to riscv-to-apply.next
Alistair
Quoted 19 lines
---
tests/qtest/k230-wdt-test.c | 2 +-1 file changed, 1 insertion(+), 1 deletion(-)tests/qtest/k230-wdt- renamed from tests/qtest/k230-wdt-test.c +0
-0
test.c
indexc8eaeaf1ae..b1131f42e3100644tests/qtest/k230-wdt-test.c +0
-0@@ -76,7 +76,7 @@ static void test_counter_restart(void)
static voidtest_interrupt_mode(void)
{
- QTestState *qts =qtest_init("-machine k230 --trace k230_*,file=k230.log");
+ QTestState *qts =qtest_init("-machine k230");
/* Set interrupt mode and enable watchdog */ qtest_writel(qts,WDT_BASE+K230_WDT_CR,