diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-02-19 15:36:49 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-02-19 15:37:47 -0800 |
commit | f4b6b2c2876bb29c01bfd95f55347e7d74222974 (patch) | |
tree | 151c84af6dca71de824267275e4edfb665ec2a26 /cpp/001test | |
parent | cae5461b1dfeb70dac6b66192fc6b12952beb723 (diff) | |
download | mu-f4b6b2c2876bb29c01bfd95f55347e7d74222974.tar.gz |
784 - persist traces in literate version
Diffstat (limited to 'cpp/001test')
-rw-r--r-- | cpp/001test | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cpp/001test b/cpp/001test index 45ec591d..ed10e97e 100644 --- a/cpp/001test +++ b/cpp/001test @@ -20,6 +20,8 @@ bool Passed = true; long Num_failures = 0; +#define TEST(name) void test_##name() { Trace_file = #name; + #define CHECK(X) \ if (!(X)) { \ ++Num_failures; \ |