<div dir="ltr">Hello,<div><br></div><div>Is there a good reason, why are regular assertions ignored when the kernel is built for testing?</div><div><br></div><div>i.e shouldn't the lines 28,29 in include/debug.h:</div><div>28  Â  #ifdef KERNEL_DEBUG<br>29  Â  #define assert(expr) \<br></div><div><br></div><div>be more like this?</div><div>28  Â  #if defined(KERNEL_DEBUG) || defined(KERNEL_TEST)<br>29  Â  #define assert(expr) \<br></div><div><br></div><div>My point is: if my code has a bug in it, I shouldn't allow the tests to let it pass.</div><div><br></div><div>Thanks</div><div>Jan Kytka</div><div><br></div></div>