Skip to contentSkip to conversation

x86/debug: return report_summary

PATCH In review Andrew Jones 2 participants 2 messages Apr 23, 2014 – Apr 28, 2014 KVM

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86/debug: return report_summary

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

---
 x86/debug.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
x86/debug.c +1 -1
index 154c7fe4db66d..34e56fbeadc3e 100644
@@ -109,5 +109,5 @@ hw_wp:
 	       n == 1 &&
 	       bp_addr[0] == ((unsigned long)&&hw_wp) && dr6[0] == 0xffff4ff2);
 
-	return 0;
+	return report_summary();
 }
Signature · 1 line
1.8.1.4
maintainer
#1 lore raw

Il 23/04/2014 14:01, Andrew Jones ha scritto:

Quoted 13 lines

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

---
 x86/debug.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
x86/debug.c +0 -0
index 154c7fe4db66d..34e56fbeadc3e 100644

x86/debug.c hw_wp: · line 113

Quoted 6 lines
x86/debug.c +1 -1
@@ -109,5 +109,5 @@ hw_wp:
 	       n == 1 &&
 	       bp_addr[0] == ((unsigned long)&&hw_wp) && dr6[0] == 0xffff4ff2);
 
-	return 0;
+	return report_summary();
 }

Applying, thanks.

Paolo