diff options
author | Rebecca N. Palmer <rebecca_palmer@zoho.com> | 2016-10-08 14:26:50 +0100 |
---|---|---|
committer | Yang Rong <rong.r.yang@intel.com> | 2016-10-10 22:30:45 +0800 |
commit | 5535542122c5bbb4d88c0058a80048154c924e9b (patch) | |
tree | de7952e1d257d84acbd0227d5f42a601b65d431e /utests/builtin_kernel_block_motion_estimate_intel.cpp | |
parent | 4fff269be888225c01eb46eba24448efd4106e24 (diff) | |
download | beignet-5535542122c5bbb4d88c0058a80048154c924e9b.tar.gz |
Utests: Don't end an all-tests run when one test fails
Signed-off-by: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Reviewed-by: Yang Rong <rong.r.yang@intel.com>
Diffstat (limited to 'utests/builtin_kernel_block_motion_estimate_intel.cpp')
-rw-r--r-- | utests/builtin_kernel_block_motion_estimate_intel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utests/builtin_kernel_block_motion_estimate_intel.cpp b/utests/builtin_kernel_block_motion_estimate_intel.cpp index 5a48753b..15bf7611 100644 --- a/utests/builtin_kernel_block_motion_estimate_intel.cpp +++ b/utests/builtin_kernel_block_motion_estimate_intel.cpp @@ -41,7 +41,7 @@ void builtin_kernel_block_motion_estimate_intel(void) #endif if(!oclCreateAcceleratorIntel){ fprintf(stderr, "Failed to get extension clCreateImageFromLibvaIntel\n"); - exit(1); + OCL_ASSERT(0); } cl_accelerator_intel accel = oclCreateAcceleratorIntel(ctx, CL_ACCELERATOR_TYPE_MOTION_ESTIMATION_INTEL,sizeof(cl_motion_estimation_desc_intel), &vmedesc, &err); OCL_ASSERT(accel != NULL); @@ -123,7 +123,7 @@ void builtin_kernel_block_motion_estimate_intel(void) #endif if(!oclReleaseAcceleratorIntel){ fprintf(stderr, "Failed to get extension clCreateImageFromLibvaIntel\n"); - exit(1); + OCL_ASSERT(0); } oclReleaseAcceleratorIntel(accel); clReleaseProgram(built_in_prog); |