Add a do_check_true option. Tests only; not part of build so far.

git-svn-id: svn://10.0.0.236/trunk@202199 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bzbarsky%mit.edu 2006-07-16 20:47:13 +00:00
parent 3f39b36622
commit fb1f4d46ac

View File

@ -108,6 +108,10 @@ function do_check_eq(_left, _right) {
do_throw(_left + " == " + _right);
}
function do_check_true(_condition) {
do_check_eq(_condition, true);
}
function do_test_pending() {
dump("*** test pending\n");
_tests_pending++;