[PATCH kvm-unit-tests] x86/debug: return report_summary

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



run_tests always reported 'PASS debug', even when subtests were
failing. Fix that.

Signed-off-by: Andrew Jones <drjones@xxxxxxxxxx>
---
 x86/debug.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x86/debug.c b/x86/debug.c
index 154c7fe4db66d..34e56fbeadc3e 100644
--- a/x86/debug.c
+++ b/x86/debug.c
@@ -109,5 +109,5 @@ hw_wp:
 	       n == 1 &&
 	       bp_addr[0] == ((unsigned long)&&hw_wp) && dr6[0] == 0xffff4ff2);
 
-	return 0;
+	return report_summary();
 }
-- 
1.8.1.4

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux