Stop silently accepting unsupported flags in test binaries
Instead explicitly ignore only the flags we know should be ignored. BUG=webrtc:7568 Review-Url: https://codereview.webrtc.org/2968003003 Cr-Commit-Position: refs/heads/master@{#19412}
This commit is contained in:
@ -384,10 +384,8 @@ TEST(IsacFixTest, Kenny) {
|
||||
sscanf(argv[CodingMode+1], "%s", bottleneck_file);
|
||||
f_bn = fopen(bottleneck_file, "rb");
|
||||
if (f_bn == NULL) {
|
||||
printf("No value provided for BottleNeck and cannot read file %s\n",
|
||||
bottleneck_file);
|
||||
exit(0); // TODO(oprypin): don't silence this error
|
||||
// FAIL() << "Cannot read file " << bottleneck_file;
|
||||
printf("No value provided for BottleNeck\n");
|
||||
FAIL() << "Cannot read file " << bottleneck_file;
|
||||
} else {
|
||||
int aux_var;
|
||||
printf("reading bottleneck rates from file %s\n\n",bottleneck_file);
|
||||
|
||||
Reference in New Issue
Block a user