1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-03-28 02:50:41 +03:00

Do not repeat a failed test's output when VERBOSE is in effect.

This commit is contained in:
Petr Rockai 2011-11-07 17:02:56 +00:00
parent 3da4ed712e
commit bac10d6aa3

View File

@ -180,9 +180,11 @@ static void failed(int i, char *f, int st) {
return;
}
printf("FAILED.\n");
printf("-- FAILED %s ------------------------------------\n", f);
dump();
printf("-- FAILED %s (end) ------------------------------\n", f);
if (!verbose) {
printf("-- FAILED %s ------------------------------------\n", f);
dump();
printf("-- FAILED %s (end) ------------------------------\n", f);
}
}
static void run(int i, char *f) {