make less verbose in case of success
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14761 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -324,12 +324,9 @@ main(int argc, char **argv)
|
|||||||
printf("test pattern %d failed with %d (should have been %d)\n",
|
printf("test pattern %d failed with %d (should have been %d)\n",
|
||||||
i, maj_stat, pl[i].error_code);
|
i, maj_stat, pl[i].error_code);
|
||||||
failed++;
|
failed++;
|
||||||
} else
|
}
|
||||||
printf("test %d success\n", i);
|
|
||||||
}
|
}
|
||||||
if (failed)
|
if (failed)
|
||||||
printf("FAILED %d tests\n", failed);
|
printf("FAILED %d tests\n", failed);
|
||||||
else
|
|
||||||
printf("no failure\n");
|
|
||||||
return failed != 0;
|
return failed != 0;
|
||||||
}
|
}
|
||||||
|
@@ -324,12 +324,9 @@ main(int argc, char **argv)
|
|||||||
printf("test pattern %d failed with %d (should have been %d)\n",
|
printf("test pattern %d failed with %d (should have been %d)\n",
|
||||||
i, maj_stat, pl[i].error_code);
|
i, maj_stat, pl[i].error_code);
|
||||||
failed++;
|
failed++;
|
||||||
} else
|
}
|
||||||
printf("test %d success\n", i);
|
|
||||||
}
|
}
|
||||||
if (failed)
|
if (failed)
|
||||||
printf("FAILED %d tests\n", failed);
|
printf("FAILED %d tests\n", failed);
|
||||||
else
|
|
||||||
printf("no failure\n");
|
|
||||||
return failed != 0;
|
return failed != 0;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user