summaryrefslogtreecommitdiff
path: root/utests/runtime_climage_from_boname.cpp
diff options
context:
space:
mode:
authorRebecca N. Palmer <rebecca_palmer@zoho.com>2016-10-08 14:26:50 +0100
committerYang Rong <rong.r.yang@intel.com>2016-10-10 22:30:45 +0800
commit5535542122c5bbb4d88c0058a80048154c924e9b (patch)
treede7952e1d257d84acbd0227d5f42a601b65d431e /utests/runtime_climage_from_boname.cpp
parent4fff269be888225c01eb46eba24448efd4106e24 (diff)
downloadbeignet-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/runtime_climage_from_boname.cpp')
-rw-r--r--utests/runtime_climage_from_boname.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/utests/runtime_climage_from_boname.cpp b/utests/runtime_climage_from_boname.cpp
index 21608862..a228c977 100644
--- a/utests/runtime_climage_from_boname.cpp
+++ b/utests/runtime_climage_from_boname.cpp
@@ -161,7 +161,7 @@ void runtime_climage_from_boname(void)
#endif
if(!oclCreateImageFromLibvaIntel){
fprintf(stderr, "Failed to get extension clCreateImageFromLibvaIntel\n");
- exit(1);
+ OCL_ASSERT(0);
}
cl_mem dst = oclCreateImageFromLibvaIntel(ctx, &imageParam, NULL);