[Beignet] [PATCH] Utest: Add check for utest multithread run
Xiuli Pan
xiuli.pan at intel.com
Mon Jul 18 07:08:43 UTC 2016
From: Pan Xiuli <xiuli.pan at intel.com>
Now utest has some test case with issues, utest multithread run should
also ignore them.
Signed-off-by: Pan Xiuli <xiuli.pan at intel.com>
---
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
More information about the Beignet
mailing list