]> git.ipfire.org Git - thirdparty/git.git/commit
tests: move t0009-prio-queue.sh to the new unit testing framework
authorChandra Pratap <chandrapratap3519@gmail.com>
Sun, 21 Jan 2024 19:28:45 +0000 (19:28 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 22 Jan 2024 18:55:01 +0000 (10:55 -0800)
commit808b77e5d47094ac8178b08d4c20e4893485bfca
treea3b0d157014efb3c55869a4307cb3bc25ff64ee0
parent186b115d3062e6230ee296d1ddaa0c4b72a464b5
tests: move t0009-prio-queue.sh to the new unit testing framework

t/t0009-prio-queue.sh along with t/helper/test-prio-queue.c unit
tests Git's implementation of a priority queue. Migrate the
test over to the new unit testing framework to simplify debugging
and reduce test run-time. Refactor the required logic and add
a new test case in addition to porting over the original ones in
shell.

Signed-off-by: Chandra Pratap <chandrapratap3519@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile
t/helper/test-prio-queue.c [deleted file]
t/helper/test-tool.c
t/helper/test-tool.h
t/t0009-prio-queue.sh [deleted file]
t/unit-tests/t-prio-queue.c [new file with mode: 0644]