test-online-cpus: helper to return cpu count
commite3482ccf27b8278289f899cbb294696389a9e1c8
authorJeff Hostetler <jeffhost@microsoft.com>
Mon, 3 Apr 2017 15:16:41 +0000 (3 15:16 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 13 Apr 2017 06:17:19 +0000 (12 23:17 -0700)
tree0874a33fc9b58abf661f580d59bc4f8c8fd4d83a
parent2a1bd45b2e44a7ba23dfe67307e7755d0a22e5d6
test-online-cpus: helper to return cpu count

Created helper executable to print the value of online_cpus()
allowing multi-threaded tests to be skipped when appropriate.

Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile
t/helper/.gitignore
t/helper/test-online-cpus.c [new file with mode: 0644]