summaryrefslogtreecommitdiff
path: root/test/correctness/tester.h
diff options
context:
space:
mode:
authorCedric Nugteren <web@cedricnugteren.nl>2016-04-27 14:38:30 +0200
committerCedric Nugteren <web@cedricnugteren.nl>2016-04-27 14:38:30 +0200
commit226e834d0a6569f8142ab0cde14e6e273486a277 (patch)
tree58a94fe874a928d66b8972724c531d802991cf11 /test/correctness/tester.h
parent3555cd043654ec24ff325bd6205281af790e50d2 (diff)
Added a '-verbose' option to the test binaries to report errors in more detail if needed
Diffstat (limited to 'test/correctness/tester.h')
-rw-r--r--test/correctness/tester.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/correctness/tester.h b/test/correctness/tester.h
index d489f829..3534dffb 100644
--- a/test/correctness/tester.h
+++ b/test/correctness/tester.h
@@ -96,6 +96,9 @@ class Tester {
// Whether or not to run the full test-suite or just a smoke test
const bool full_test_;
+ // Whether or not to print extra information when testing
+ const bool verbose_;
+
// Retrieves the offset values to test with
const std::vector<size_t> GetOffsets() const;
@@ -109,6 +112,9 @@ class Tester {
// Prints the error or success symbol to screen
void PrintTestResult(const std::string &message);
+ // Prints an error log
+ void PrintErrorLog(const std::vector<ErrorLogEntry> &error_log);
+
// Logging and counting occurrences of errors
std::vector<ErrorLogEntry> error_log_;
size_t num_passed_;