]> git.ipfire.org Git - thirdparty/git.git/commit
trace2 tests: guard pthread test with "PTHREAD"
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Thu, 24 Nov 2022 21:48:21 +0000 (22:48 +0100)
committerJunio C Hamano <gitster@pobox.com>
Fri, 25 Nov 2022 00:36:26 +0000 (09:36 +0900)
commit14903c8e9208a4562e3fbc52614e4adb731e31e0
tree6dc831bcb09bc032db96b4920f826d73826e7752
parent81071626ba1ec54ad72de1e0a9a49c78eb87a2c8
trace2 tests: guard pthread test with "PTHREAD"

Since 81071626ba1 (trace2: add global counter mechanism, 2022-10-24)
these tests have been failing when git is compiled with NO_PTHREADS=Y,
which is always the case e.g. if 'uname -s' is "NONSTOP_KERNEL".

Reported-by: Randall S. Becker <randall.becker@nexbridge.ca>
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t0211-trace2-perf.sh