mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Give tinytest a function to say whether the current test has failed
This commit is contained in:
@@ -492,6 +492,12 @@ tinytest_set_test_skipped_(void)
|
||||
cur_test_outcome = SKIP;
|
||||
}
|
||||
|
||||
int
|
||||
tinytest_cur_test_has_failed(void)
|
||||
{
|
||||
return (cur_test_outcome == FAIL);
|
||||
}
|
||||
|
||||
char *
|
||||
tinytest_format_hex_(const void *val_, unsigned long len)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user