Merge pull request #1745 from terrelln/regression-driver

[fuzz] Add a DEBUGLOG(3) statement to print file
This commit is contained in:
Nick Terrell authored and GitHub committed 2019-08-23 10:15:52 -07:00
commit 5b811cb41d
2 files changed
+2

No files matched your search

+1
View File
@@ -14,6 +14,7 @@
#ifndef FUZZ_HELPERS_H #ifndef FUZZ_HELPERS_H
#define FUZZ_HELPERS_H #define FUZZ_HELPERS_H
#include "debug.h"
#include "fuzz.h" #include "fuzz.h"
#include "xxhash.h" #include "xxhash.h"
#include "zstd.h" #include "zstd.h"
+1
View File
@@ -36,6 +36,7 @@ int main(int argc, char const **argv) {
fprintf(stderr, "WARNING: No files passed to %s\n", argv[0]); fprintf(stderr, "WARNING: No files passed to %s\n", argv[0]);
for (i = 0; i < numFiles; ++i) { for (i = 0; i < numFiles; ++i) {
char const *fileName = files[i]; char const *fileName = files[i];
DEBUGLOG(3, "Running %s", fileName);
size_t const fileSize = UTIL_getFileSize(fileName); size_t const fileSize = UTIL_getFileSize(fileName);
size_t readSize; size_t readSize;
FILE *file; FILE *file;