diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2011-04-22 15:24:04 +0300 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2011-04-24 19:12:29 +0300 |
commit | 9b5d30ea9feb311d74857946dd9bb22aefb2f64a (patch) | |
tree | 92144bcb29d1e7e6222788be7f856bc041b9ba25 /tests/ubi-tests/mkvol_basic.c | |
parent | 4623f7aec7c78ff93ad4ab9878571d685b51dfaa (diff) |
fs-tests: integck: print backtrace in case of failure
This patch teaches the 'CHECK()' macro to print the back-trace in
case of failure which is sometimes very useful for debugging. This
patch also adds a helper function for the 'CHECK()' macro because
otherwise it becomes too large.
Note, since all functions in the test are static, the stack trace
does not really show symbols.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'tests/ubi-tests/mkvol_basic.c')
0 files changed, 0 insertions, 0 deletions