From 945b8da90cea5ccacc0294e58131f73f39137367 Mon Sep 17 00:00:00 2001 From: Matthew Bentham Date: Wed, 12 Jul 2023 11:54:59 +0000 Subject: Make test fixture setup methods not be templated This simplifies code slightly as nothing needs those functions to be function templates. Signed-off-by: Matthew Bentham Change-Id: If48694bf5677bb83426aeba952eb87174a42dff0 Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/c/VisualCompute/ComputeLibrary/+/536135 Tested-by: bsgcomp Reviewed-by: Jakub Sujak Comments-Addressed: bsgcomp Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/9907 Benchmark: Arm Jenkins Tested-by: Arm Jenkins Comments-Addressed: Arm Jenkins --- tests/framework/Macros.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests/framework') diff --git a/tests/framework/Macros.h b/tests/framework/Macros.h index ac03bb02b6..5ce0842864 100644 --- a/tests/framework/Macros.h +++ b/tests/framework/Macros.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017-2021 Arm Limited. + * Copyright (c) 2017-2021, 2023 Arm Limited. * * SPDX-License-Identifier: MIT * @@ -127,13 +127,13 @@ void do_setup() override \ { \ framework::Framework::get().set_new_fixture_call(false); \ - apply(this, &FIXTURE::setup, _data); \ + apply(this, &FIXTURE::setup, _data); \ } #define FIXTURE_DATA_SETUP_NEW(FIXTURE) \ void do_setup() override \ { \ framework::Framework::get().set_new_fixture_call(true); \ - apply(this, &FIXTURE::setup, _data); \ + apply(this, &FIXTURE::setup, _data); \ configure_target(); \ if(!framework::Framework::get().configure_only()) \ { \ @@ -324,4 +324,4 @@ // // TEST CASE MACROS END // -#endif /* ARM_COMPUTE_TEST_FRAMEWORK_MACROS */ \ No newline at end of file +#endif /* ARM_COMPUTE_TEST_FRAMEWORK_MACROS */ -- cgit v1.2.1