Skip to contentSkip to conversation

master - test: Include tests that timed out in the final summary.

PATCH Petr Rockai 1 participant 1 message Sep 4, 2013

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=374653f2b55fe06431e4db4ef8e3d4340cdab29b
Commit:        374653f2b55fe06431e4db4ef8e3d4340cdab29b
Parent:        cc66dedc0ebe9a7f7718d6340ccd6247d1a471e1
Author:        Petr Rockai <[email protected]>
AuthorDate:    Wed Sep 4 16:20:35 2013 +0200
Committer:     Petr Rockai <[email protected]>
CommitterDate: Wed Sep 4 16:21:08 2013 +0200

test: Include tests that timed out in the final summary.

---
 test/lib/harness.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
test/lib/harness.c +3 -0
index 52fa62f..53814dc 100644
@@ -520,6 +520,9 @@ int main(int argc, char **argv) {
 			case INTERRUPTED:
 				printf("interrupted: %s\n", argv[i]);
 				break;
+			case TIMEOUT:
+				printf("timeout: %s\n", argv[i]);
+				break;
 			default: /* do nothing */ ;
 			}
 		}