[Beignet] [PATCH] utest.cpp: run the cases with issue seperately.
Lu, Guanqun
guanqun.lu at intel.com
Tue Sep 10 00:30:42 PDT 2013
LGTM.
> -----Original Message-----
> From: beignet-bounces+guanqun.lu=intel.com at lists.freedesktop.org
> [mailto:beignet-bounces+guanqun.lu=intel.com at lists.freedesktop.org] On
> Behalf Of Yi Sun
> Sent: Monday, September 09, 2013 4:54 PM
> To: beignet at lists.freedesktop.org
> Cc: Sun, Yi; Jin, Gordon
> Subject: [Beignet] [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 <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
>
> _______________________________________________
> Beignet mailing list
> Beignet at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/beignet
More information about the Beignet
mailing list