From: Pan Xiuli <[email protected]>

Now utest has some test case with issues, utest multithread run should
also ignore them.

Signed-off-by: Pan Xiuli <[email protected]>
---
 utests/utest.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/utests/utest.cpp b/utests/utest.cpp
index 6d25db1..dac6c28 100644
--- a/utests/utest.cpp
+++ b/utests/utest.cpp
@@ -127,6 +127,7 @@ void *multithread(void * arg)
     sem_post(&tag);
 
     const  UTest &utest = (*UTest::utestList)[SerialNumber];
+    if (utest.fn == NULL || utest.haveIssue || utest.isBenchMark) continue;
    // printf("thread%lu  %d, utests.name is %s\n",PhtreadNumber, 
SerialNumber,utest.name);
 
     UTest::do_run(utest);
-- 
2.5.0

_______________________________________________
Beignet mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/beignet

Reply via email to