mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-22 17:35:59 +03:00
Only fail when tests have failed, but not when they have been just skipped.
This commit is contained in:
parent
0f817d38f7
commit
fc5e78cf5e
@ -153,7 +153,7 @@ int main(int argc, char **argv) {
|
|||||||
npassed + nfailed + nskipped, npassed, nfailed, nskipped);
|
npassed + nfailed + nskipped, npassed, nfailed, nskipped);
|
||||||
|
|
||||||
/* print out a summary */
|
/* print out a summary */
|
||||||
if (nfailed || nskipped ) {
|
if (nfailed || nskipped) {
|
||||||
for (i = 1; i < argc; ++ i) {
|
for (i = 1; i < argc; ++ i) {
|
||||||
switch (status[i]) {
|
switch (status[i]) {
|
||||||
case FAILED:
|
case FAILED:
|
||||||
@ -165,7 +165,7 @@ int main(int argc, char **argv) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
printf("\n");
|
printf("\n");
|
||||||
return 1;
|
return nfailed > 0 || die;
|
||||||
}
|
}
|
||||||
return !die;
|
return !die;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user