Article View: comp.software.testing
Article #13Re: Q: assertions before and after testing
From: Danny R. Faught
Date: Fri, 08 Sep 1995 14:44
Date: Fri, 08 Sep 1995 14:44
15 lines
1208 bytes
1208 bytes
In article <DEL047.BCD@rivm.nl>, A. van Kessel <imaavk> wrote: >Take a look at assert.h : assert is a macro with one argument >Just replace the #include <assert.h> by a >dummy definition like: >#define assert(_1) /* _1 */ Yep. There's a whole can of worms here - I've seen long threads on this subject in other newsgroups. But if you want to keep the asserts in the production code, by all means come up with an alternate macro definition or some other method to deal with the error. Unfortunately, actaully dealing with the inconsistencies on the fly in a robust way can be extremely difficult. -- Danny Faught -- Convex -- Operating System Demolitions Specialist "Everything is deeply intertwingled." (Ted Nelson, _Computer Lib_)
Technical Details
Message-ID:
<42pkt0$qf@zeppelin.convex.com>Path:
arc1-ca.pugleaf.net!news.eng.convex.com!not-for-mailReferences:
<42o1ns$qdk@itchy.adacel.com.au> <DEL047.BCD@rivm.nl>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!news.eng.convex.com!not-for-mail From: faught@news.eng.convex.com (Danny R. Faught) Newsgroups: comp.software.testing,comp.lang.c Subject: Re: Q: assertions before and after testing Date: 8 Sep 1995 09:44:48 -0500 Organization: Engineering, Convex Computer Corporation, Richardson, Tx USA Message-ID: <42pkt0$qf@zeppelin.convex.com> References: <42o1ns$qdk@itchy.adacel.com.au> <DEL047.BCD@rivm.nl> NNTP-Posting-Host: zeppelin.convex.com