[Beignet] [PATCH] utest.cpp: run the cases with issue seperately.
Yi Sun
yi.sun at intel.com
Mon Sep 9 01:54:12 PDT 2013
We should run both passed cases and failed cases via option '-c'.
Signed-off-by: Yi Sun <yi.sun at intel.com>
---
utests/utest.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/utests/utest.cpp b/utests/utest.cpp
index 0bd7b1b..18d10e8 100644
--- a/utests/utest.cpp
+++ b/utests/utest.cpp
@@ -52,7 +52,7 @@ void UTest::run(const char *name) {
if (utestList == NULL) return;
for (size_t i = 0; i < utestList->size(); ++i) {
const UTest &utest = (*utestList)[i];
- if (utest.name == NULL || utest.fn == NULL || utest.haveIssue) continue;
+ if (utest.name == NULL || utest.fn == NULL ) continue;
if (strequal(utest.name, name)) {
std::cout << utest.name << ":" << std::endl;
(utest.fn)();
--
1.7.6.4
More information about the Beignet
mailing list