[Beignet] [PATCH 1/2] Utest: Fix utest case with issues value
Yang, Rong R
rong.r.yang at intel.com
Fri Aug 12 08:57:37 UTC 2016
The patchset LGTM, pushed, thanks.
> -----Original Message-----
> From: Beignet [mailto:beignet-bounces at lists.freedesktop.org] On Behalf Of
> Xiuli Pan
> Sent: Friday, August 12, 2016 16:54
> To: beignet at lists.freedesktop.org
> Cc: Pan, Xiuli <xiuli.pan at intel.com>
> Subject: [Beignet] [PATCH 1/2] Utest: Fix utest case with issues value
>
> From: Pan Xiuli <xiuli.pan at intel.com>
>
> With issues is the 4th arguments.
>
> Signed-off-by: Pan Xiuli <xiuli.pan at intel.com>
> ---
> utests/utest.hpp | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/utests/utest.hpp b/utests/utest.hpp index 6ecbaf7..3e9f077
> 100644
> --- a/utests/utest.hpp
> +++ b/utests/utest.hpp
> @@ -98,7 +98,7 @@ struct UTest
> /*! Register a test case which has issue to be fixed */ #define
> MAKE_UTEST_FROM_FUNCTION_WITH_ISSUE(FN) \
> static void __ANON__##FN##__(void) { UTEST_EXPECT_SUCCESS(FN()); } \
> - static const UTest __##FN##__(__ANON__##FN##__, #FN, true);
> + static const UTest __##FN##__(__ANON__##FN##__, #FN, false ,true);
>
> /*! Turn a function into a unit performance test */ #define
> MAKE_BENCHMARK_FROM_FUNCTION_KEEP_PROGRAM(FN,
> KEEP_PROGRAM, ...) \
> --
> 2.7.4
>
> _______________________________________________
> Beignet mailing list
> Beignet at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/beignet
More information about the Beignet
mailing list