From b8f59bed9098a34278747a50f61960bea30fae31 Mon Sep 17 00:00:00 2001 From: Yi Sun Date: Mon, 9 Sep 2013 16:54:12 +0800 Subject: [PATCH] utest.cpp: run the cases with issue seperately. We should run both passed cases and failed cases via option '-c'. Signed-off-by: Yi Sun Reviewed-by: "Lu, Guanqun" --- utests/utest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)(); -- 2.7.4