diff options
author | Josh Steadmon <steadmon@google.com> | 2024-05-06 12:57:31 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-05-06 14:06:34 -0700 |
commit | 80bb227e41f462bb04f07991cb2bb531453820a5 (patch) | |
tree | 3f66354a98b56095f744c34131ebbf8537656fdb /builtin/commit.c | |
parent | 483b759b47cc9d1624ae92bfa56d278a0b673bbd (diff) |
t0080: turn t-basic unit test into a helper
While t/unit-tests/t-basic.c uses the unit-test framework added in
e137fe3b29 (unit tests: add TAP unit test framework, 2023-11-09), it is
not a true unit test in that it intentionally fails in order to exercise
various codepaths in the unit-test framework. Thus, we intentionally
exclude it when running unit tests through the various t/Makefile
targets. Instead, it is executed by t0080-unit-test-output.sh, which
verifies its output follows the TAP format expected for the various
pass, skip, or fail cases.
As such, it makes more sense for t-basic to be a helper item for
t0080-unit-test-output.sh, so let's move it to
t/helper/test-example-tap.c and adjust Makefiles as necessary.
Signed-off-by: Josh Steadmon <steadmon@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions