Skip to contentSkip to conversation

qtest: new test for wdt_ib700

PATCH New Paolo Bonzini 1 participant 1 message Jul 15, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 qtest: new test for wdt_ib700

Since the "pause" watchdog action had a regression and it went unnoticed for a while, let's add a test for it.

---
 tests/Makefile         |   2 +
 tests/wdt_ib700-test.c | 134 +++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 136 insertions(+)
 create mode 100644 tests/wdt_ib700-test.c
tests/Makefile +2 -0
index 1fcd633..ed9b8e6 100644
@@ -141,6 +141,8 @@ check-qtest-i386-y += tests/i440fx-test$(EXESUF)
 check-qtest-i386-y += tests/fw_cfg-test$(EXESUF)
 check-qtest-i386-y += tests/blockdev-test$(EXESUF)
 check-qtest-i386-y += tests/qdev-monitor-test$(EXESUF)
+check-qtest-i386-y += tests/wdt_ib700-test$(EXESUF)
+gcov-files-i386-y += hw/watchdog/watchdog.c hw/watchdog/wdt_ib700.c
 check-qtest-i386-y += $(check-qtest-pci-y)
 gcov-files-i386-y += $(gcov-files-pci-y)
 check-qtest-i386-y += tests/vmxnet3-test$(EXESUF)
tests/wdt_ib700-test.c new file +134 -0

134 lines not on this page · raw message

Signature · 1 line
1.9.3