mirror of
https://github.com/boostorg/core.git
synced 2025-05-09 23:03:54 +00:00
Check number of failures in lightweight_test_all_with_eq, lightweight_test_all_with_fail
This commit is contained in:
parent
02041f6c9f
commit
b1e0735d8f
@ -69,15 +69,16 @@ run get_pointer_test.cpp ;
|
||||
run lightweight_test_test.cpp ;
|
||||
run lightweight_test_test.cpp : : : <exception-handling>off : lightweight_test_test_no_except ;
|
||||
run lightweight_test_test2.cpp ;
|
||||
run lightweight_test_all_eq_test.cpp ;
|
||||
run lightweight_test_all_with_test.cpp ;
|
||||
run lightweight_test_all_with_fail.cpp ;
|
||||
run lightweight_test_lt_le_test.cpp ;
|
||||
run lightweight_test_gt_ge_test.cpp ;
|
||||
run lightweight_test_eq_nullptr.cpp ;
|
||||
run lightweight_test_test3.cpp ;
|
||||
run lightweight_test_test4.cpp ;
|
||||
|
||||
run-fail lightweight_test_all_eq_test.cpp ;
|
||||
run-fail lightweight_test_all_with_fail.cpp ;
|
||||
|
||||
run-fail lightweight_test_fail.cpp ;
|
||||
run-fail lightweight_test_fail2.cpp ;
|
||||
run-fail lightweight_test_fail3.cpp ;
|
||||
|
@ -120,5 +120,5 @@ int main()
|
||||
++test_cases;
|
||||
}
|
||||
|
||||
return !boost::report_errors();
|
||||
return boost::report_errors() == test_cases;
|
||||
}
|
||||
|
@ -101,5 +101,5 @@ int main()
|
||||
test_cases += fail_vector();
|
||||
test_cases += fail_tolerance_predicate();
|
||||
|
||||
return !boost::report_errors();
|
||||
return boost::report_errors() == test_cases;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user