summaryrefslogtreecommitdiff
path: root/test/correctness/tester.h
diff options
context:
space:
mode:
authorCNugteren <web@cedricnugteren.nl>2015-06-20 13:33:50 +0200
committerCNugteren <web@cedricnugteren.nl>2015-06-20 13:33:50 +0200
commit3ea3ba2beeab837e8d7c533746bd621daf1c09bd (patch)
tree8bce01e529f1ddca6a8af45b89a51f0e7f0935e6 /test/correctness/tester.h
parentdfbc3365312a8ee1c100d7659e5814548192b48d (diff)
Distinguish between a short smoke test and a full test
Diffstat (limited to 'test/correctness/tester.h')
-rw-r--r--test/correctness/tester.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/correctness/tester.h b/test/correctness/tester.h
index ffc02bbf..1085c472 100644
--- a/test/correctness/tester.h
+++ b/test/correctness/tester.h
@@ -97,6 +97,9 @@ class Tester {
// Retrieves a list of example scalars of the right type
const std::vector<T> GetExampleScalars();
+ // Retrieves a list of offset values to test
+ const std::vector<size_t> GetOffsets();
+
// The help-message
std::string help_;
@@ -108,7 +111,6 @@ class Tester {
private:
-
// Internal methods to report a passed, skipped, or failed test
void ReportPass();
void ReportSkipped();
@@ -117,6 +119,9 @@ class Tester {
// Prints the error or success symbol to screen
void PrintTestResult(const std::string &message);
+ // Whether or not to run the full test-suite or just a smoke test
+ bool full_test_;
+
// Logging and counting occurrences of errors
std::vector<ErrorLogEntry> error_log_;
size_t num_passed_;