]> git.ipfire.org Git - thirdparty/kmod.git/commit
testsuite: Add assert_return
authorLucas De Marchi <lucas.demarchi@intel.com>
Fri, 6 Jun 2014 05:19:01 +0000 (02:19 -0300)
committerLucas De Marchi <lucas.demarchi@intel.com>
Fri, 6 Jun 2014 05:19:28 +0000 (02:19 -0300)
commit30471c80a48fc6888b9359056226438e5d2482ca
treef51b340585120aa12d88be374c2ce12c7592c5dc
parentf988e25c6864a9467eb53262cbd718752204f80f
testsuite: Add assert_return

Add assert_return to use in testcases instead of assert. The issues
with assert are:
1) It's disabled when NDEBUG is defined
2) Even if it's well supported by testsuite (the parent will
   report the child died) it can't output any meaningful
   error message
testsuite/testsuite.h