From: Nick Mathewson Date: Mon, 21 Apr 2025 19:34:00 +0000 (-0400) Subject: Fix tests when built with --all-bugs-are-fatal. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4665bb4c708df2047915ada436ba98af38678462;p=thirdparty%2Ftor.git Fix tests when built with --all-bugs-are-fatal. --- diff --git a/src/test/test_cell_formats.c b/src/test/test_cell_formats.c index 126aad1a3c..3456650ca7 100644 --- a/src/test/test_cell_formats.c +++ b/src/test/test_cell_formats.c @@ -1403,6 +1403,12 @@ static void test_cfmt_relay_msg_encoding_error(void *arg) { (void)arg; +#ifdef ALL_BUGS_ARE_FATAL + // This test triggers many nonfatal assertions. + tt_skip(); + done: + ; +#else relay_msg_t *msg1 = NULL; int r; cell_t cell; @@ -1447,6 +1453,7 @@ test_cfmt_relay_msg_encoding_error(void *arg) done: tor_end_capture_bugs_(); relay_msg_free(msg1); +#endif } static void