pmem / pmemstream

Other
9 stars 13 forks source link

Do not use UT_FATAL in run_test #113

Closed igchor closed 2 years ago

igchor commented 2 years ago

UT_FATAL (and family) throws exception on failure which means that we have uncaught exceptions (reported by coverage).

Just print the error to stderr and abort manually.


This change is Reviewable

codecov-commenter commented 2 years ago

Codecov Report

Merging #113 (dd7e5ae) into master (ff5f539) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #113   +/-   ##
=======================================
  Coverage   91.12%   91.12%           
=======================================
  Files           8        8           
  Lines         541      541           
=======================================
  Hits          493      493           
  Misses         48       48           
Flag Coverage Δ
tests_clang_debug_cpp17 92.42% <ø> (ø)
tests_gcc_debug 84.92% <ø> (+0.02%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update ff5f539...dd7e5ae. Read the comment docs.