Skip to contentSkip to conversation

tests: rtl8139: test timers and interrupt

RFC PATCH Superseded Frediano Ziglio 1 participant 1 message Jan 8, 2015

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

RFC PATCH v2 1/1 tests: rtl8139: test timers and interrupt

Test behaviour of timers and interrupts related to timeouts.

---
 tests/Makefile       |   2 +-
 tests/rtl8139-test.c | 180 +++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 181 insertions(+), 1 deletion(-)

This patch was derived from a test I did while implementing timer in rtl8139 code. Now that there is support for integrated testing I converted it. The test was tested on a real NIC.

As if it's the first test I wrote I don't know if syntax and details are fine. For instance should I remove nop test? Should I split my test?

Changed from v1:
- style

tests/Makefile +1 -1
index e4ddb6a..8858407 100644
@@ -320,7 +320,7 @@ tests/tmp105-test$(EXESUF): tests/tmp105-test.o $(libqos-omap-obj-y)
 tests/i440fx-test$(EXESUF): tests/i440fx-test.o $(libqos-pc-obj-y)
 tests/fw_cfg-test$(EXESUF): tests/fw_cfg-test.o $(libqos-pc-obj-y)
 tests/e1000-test$(EXESUF): tests/e1000-test.o
-tests/rtl8139-test$(EXESUF): tests/rtl8139-test.o
+tests/rtl8139-test$(EXESUF): tests/rtl8139-test.o $(libqos-pc-obj-y)
 tests/pcnet-test$(EXESUF): tests/pcnet-test.o
 tests/eepro100-test$(EXESUF): tests/eepro100-test.o
 tests/vmxnet3-test$(EXESUF): tests/vmxnet3-test.o
tests/rtl8139-test.c +180 -0

199 lines not on this page · raw message

Signature · 1 line
1.9.1