test: read TAP status before exit

This commit is contained in:
Danny Robson 2018-03-20 14:50:46 +11:00
parent 197160daba
commit 2508c5cc71
3 changed files with 6 additions and 0 deletions

View File

@ -32,4 +32,6 @@ main ()
util::hash::siphash<2,4> h (t.key);
tap.expect_eq (h (t.data), t.digest, "%s", t.message);
}
return tap.status ();
}

View File

@ -62,4 +62,6 @@ main ()
tap.expect (true, "n-way fight, %! contestants", std::thread::hardware_concurrency ());
}
return tap.status ();
}

View File

@ -90,4 +90,6 @@ main ()
std::cout << rel << '\n';
tap.expect_lt (rel, 0.1f, "reasonably fair under contention");
}
return tap.status ();
}