IOR: move verbose output of detailed errors to verbosity level 1. (#315)

IOR by default outputs the numbers of errors.
Reason: The amount of error messages can be overwhelming, particularly in a parallel program (Gigabytes...).
One -v increases the verbosity level to provide the extra details without adding too many other messages.
master
Julian Kunkel 2021-01-20 15:06:45 +00:00 committed by GitHub
parent 58fbefbd33
commit 9e0a8c44d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -430,7 +430,7 @@ CompareData(void *expectedBuffer, size_t size, IOR_offset_t transferCount, IOR_p
fprintf(out_logfile, "\n");
}
}
if (errorCount > 0) {
if (errorCount > 0 && verbose >= VERBOSE_1) {
GetTestFileName(testFileName, test);
EWARNF("[%d] FAILED comparison of buffer in file %s during transfer %lld offset %lld containing %d-byte ints (%zd errors)",
rank, testFileName, transferCount, offset, (int)sizeof(unsigned long long int),errorCount);