diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-02-17 14:05:01 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-02-17 14:05:01 -0800 |
commit | 6042828bdea2a1ed1da1b0d2013a4479fb3d005a (patch) | |
tree | 1b45e4519392e123a7f9daf75ce5d44409877a85 /cpp/000test.cc | |
parent | 6a2dabe3675cc5d9f03587e1bf4fb8c7a61bafea (diff) | |
download | mu-6042828bdea2a1ed1da1b0d2013a4479fb3d005a.tar.gz |
774 - start persisting test traces
Diffstat (limited to 'cpp/000test.cc')
-rw-r--r-- | cpp/000test.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cpp/000test.cc b/cpp/000test.cc index 2754b254..1a731804 100644 --- a/cpp/000test.cc +++ b/cpp/000test.cc @@ -8,6 +8,8 @@ bool Passed = true; long Num_failures = 0; +#define TEST(name) void test_##name() { Trace_file = #name; + #define CHECK(X) \ if (!(X)) { \ ++Num_failures; \ |