diff options
author | Anthony Barbier <anthony.barbier@arm.com> | 2018-07-12 13:26:27 +0100 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:54:54 +0000 |
commit | e88b9bb3e2c97bc2c3f5024f17fa6c5080ee522c (patch) | |
tree | 44b5b4e7849bea992439152a944d1bc08c683a36 /tests/validate_examples/ValidateExample.h | |
parent | 7784c837afd5844fb6dc4d166ff253d983abfd2d (diff) | |
download | ComputeLibrary-e88b9bb3e2c97bc2c3f5024f17fa6c5080ee522c.tar.gz |
COMPMID-1396: make validate_example and benchmark_example check if setup was successful
Change-Id: I70dbd9f9258174fc80928906c33abecf804284c3
Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/139716
Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com>
Tested-by: Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'tests/validate_examples/ValidateExample.h')
-rw-r--r-- | tests/validate_examples/ValidateExample.h | 5 |
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 |