Re: [ovs-dev] [PATCH 2/2] lib/util, tests: Support NDEBUG.

2014-10-30 Thread Jarno Rajahalme
On Oct 30, 2014, at 8:43 AM, Ben Pfaff wrote: > On Wed, Oct 29, 2014 at 11:41:48AM -0700, Jarno Rajahalme wrote: >> ./configure accepts --enable-ndebug option. Make ovs_assert() honor >> it, and make sure all test programs disable it. >> >> The order of include files in test programs is also m

Re: [ovs-dev] [PATCH 2/2] lib/util, tests: Support NDEBUG.

2014-10-30 Thread Ben Pfaff
On Wed, Oct 29, 2014 at 11:41:48AM -0700, Jarno Rajahalme wrote: > ./configure accepts --enable-ndebug option. Make ovs_assert() honor > it, and make sure all test programs disable it. > > The order of include files in test programs is also made uniform: > > 1. #include > 2. #undef NDEBUG > 3.

[ovs-dev] [PATCH 2/2] lib/util, tests: Support NDEBUG.

2014-10-29 Thread Jarno Rajahalme
./configure accepts --enable-ndebug option. Make ovs_assert() honor it, and make sure all test programs disable it. The order of include files in test programs is also made uniform: 1. #include 2. #undef NDEBUG 3. Include file of the test subject (to make sure it itself has sufficient includ