aboutsummaryrefslogtreecommitdiff
path: root/tests/validate_examples/ValidateExample.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/validate_examples/ValidateExample.h')
-rw-r--r--tests/validate_examples/ValidateExample.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/validate_examples/ValidateExample.h b/tests/validate_examples/ValidateExample.h
index 4dd552ab10..2721508336 100644
--- a/tests/validate_examples/ValidateExample.h
+++ b/tests/validate_examples/ValidateExample.h
@@ -48,7 +48,10 @@ public:
* @param[in] argc Argument count.
* @param[in] argv Argument values.
*/
- virtual void do_setup(int argc, char **argv) {};
+ virtual bool do_setup(int argc, char **argv)
+ {
+ return true;
+ };
/** Run the example. */
virtual void do_run() {};
/** Run reference implementation and validate against the target output