René Scharfe
96c6304c18
unit-tests: add if_test
...
The macro TEST only allows defining a test that consists of a single
expression. Add a new macro, if_test, which provides a way to define
unit tests that are made up of one or more statements.
if_test allows defining self-contained tests en bloc, a bit like
test_expect_success does for regular tests. It acts like a conditional;
the test body is executed if test_skip_all() had not been called before.
Signed-off-by: René Scharfe <l.s.r@web.de >
Signed-off-by: Junio C Hamano <gitster@pobox.com >
2024-07-30 13:32:43 -07:00
..
2024-07-02 09:59:00 -07:00
2024-07-08 14:53:10 -07:00
2024-06-14 09:34:39 -07:00
2024-06-14 10:26:33 -07:00
2023-06-28 14:06:40 -07:00
2024-04-05 15:21:14 -07:00
2023-10-02 14:57:40 -07:00
2023-07-05 11:41:59 -07:00
2024-06-14 10:26:33 -07:00
2024-06-14 10:26:33 -07:00
2024-06-14 10:26:33 -07:00
2024-06-14 10:26:33 -07:00
2023-09-29 15:14:57 -07:00
2024-07-30 13:32:43 -07:00
2024-06-14 10:26:33 -07:00
2024-06-14 10:26:33 -07:00
2024-06-14 10:26:33 -07:00
2024-06-07 10:30:48 -07:00
2024-06-07 10:30:48 -07:00
2024-06-14 10:26:33 -07:00
2024-06-14 10:26:33 -07:00
2024-06-14 10:26:34 -07:00
2024-06-14 10:26:33 -07:00
2024-06-11 13:15:04 -07:00
2024-06-14 10:26:34 -07:00
2024-05-24 16:57:43 -07:00
2024-02-08 16:22:11 -08:00
2024-06-14 10:26:35 -07:00
2024-06-14 10:26:33 -07:00
2024-06-14 10:26:33 -07:00
2024-07-08 14:53:10 -07:00
2024-06-14 10:26:33 -07:00
2024-06-14 10:26:33 -07:00
2024-07-02 08:12:24 -07:00
2024-06-07 10:30:48 -07:00
2024-06-14 10:26:33 -07:00
2024-06-14 10:26:33 -07:00
2024-06-07 10:30:48 -07:00
2024-05-06 14:06:34 -07:00
2024-06-14 10:26:33 -07:00
2024-06-14 10:26:33 -07:00
2024-06-14 10:26:33 -07:00
2023-12-26 12:04:31 -08:00
2024-06-14 10:26:33 -07:00
2024-06-14 10:26:33 -07:00
2024-06-14 10:26:33 -07:00
2024-07-03 09:12:14 -07:00
2024-07-03 09:12:14 -07:00
2024-06-14 10:26:33 -07:00
2023-10-13 13:33:35 -07:00
2023-06-28 14:06:39 -07:00
2023-06-21 13:39:54 -07:00
2024-06-14 10:26:33 -07:00