Changed output of --test-detector: multiple hits with same gameid now only are a warning, not a failure

svn-id: r33387
This commit is contained in:
Max Horn 2008-07-29 00:49:44 +00:00
parent 4a9104515c
commit e1520c6462

View file

@ -685,9 +685,9 @@ static void runDetectorTest() {
failure++; failure++;
} else if (candidates.size() > 1) { } else if (candidates.size() > 1) {
if (gameidDiffers) { if (gameidDiffers) {
printf(" FAILURE: Multiple games detected, some/all with wrong gameid\n"); printf(" WARNING: Multiple games detected, some/all with wrong gameid\n");
} else { } else {
printf(" FAILURE: Multiple games detected, but all have the same gameid\n"); printf(" WARNING: Multiple games detected, but all have the same gameid\n");
} }
failure++; failure++;
} else if (gameidDiffers) { } else if (gameidDiffers) {