[Beignet] [PATCH 1/2] Utest: Fix utest case with issues value

Xiuli Pan xiuli.pan at intel.com
Fri Aug 12 08:53:36 UTC 2016


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



More information about the Beignet mailing list