Changeset a2b3289 for filter.c


Ignore:
Timestamp:
Aug 17, 2009, 9:22:15 PM (12 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
Branches:
master, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
8bce750
Parents:
ecc958e
Message:
tester: Report the test count at the end, not the beginning.

A static test count is just too much effort to maintain correct.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • filter.c

    r4542047 ra2b3289  
    311311  owl_message_set_attribute(&m, "foo", "bar");
    312312
    313 #define TEST_FILTER(f, e) numfailed += owl_filter_test_string(f, &m, e)
    314 
     313#define TEST_FILTER(f, e) do {                          \
     314    numtests++;                                         \
     315    numfailed += owl_filter_test_string(f, &m, e);      \
     316      } while(0)
    315317
    316318  TEST_FILTER("true", 1);
Note: See TracChangeset for help on using the changeset viewer.