projects
/
contrib
/
beignet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d2c0af
)
throw exception instead of just assert
author
Lu Guanqun
<guanqun.lu@intel.com>
Wed, 10 Apr 2013 08:12:08 +0000
(16:12 +0800)
committer
Zhigang Gong
<zhigang.gong@linux.intel.com>
Thu, 11 Apr 2013 08:47:32 +0000
(16:47 +0800)
So that we know the reason of why we're failing.
Signed-off-by: Lu Guanqun <guanqun.lu@intel.com>
Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
utests/utest_assert.cpp
patch
|
blob
|
history
diff --git
a/utests/utest_assert.cpp
b/utests/utest_assert.cpp
index
fe3a99c
..
f3b9a00
100644
(file)
--- a/
utests/utest_assert.cpp
+++ b/
utests/utest_assert.cpp
@@
-36,7
+36,6
@@
void onFailedAssertion(const char *msg, const char *file, const char *fn, int li
+ std::string(file)
+ ", function " + std::string(fn)
+ ", line " + std::string(lineString);
- assert(0);
throw Exception(str);
}