summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJeff Hostetler <jeffhost@microsoft.com>2017-04-03 15:16:41 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-04-13 06:17:19 (GMT)
commite3482ccf27b8278289f899cbb294696389a9e1c8 (patch)
tree0874a33fc9b58abf661f580d59bc4f8c8fd4d83a /Makefile
parent2a1bd45b2e44a7ba23dfe67307e7755d0a22e5d6 (diff)
downloadgit-e3482ccf27b8278289f899cbb294696389a9e1c8.zip
git-e3482ccf27b8278289f899cbb294696389a9e1c8.tar.gz
git-e3482ccf27b8278289f899cbb294696389a9e1c8.tar.bz2
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>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 061d9ea..dc0c368 100644
--- a/Makefile
+++ b/Makefile
@@ -619,6 +619,7 @@ TEST_PROGRAMS_NEED_X += test-line-buffer
TEST_PROGRAMS_NEED_X += test-match-trees
TEST_PROGRAMS_NEED_X += test-mergesort
TEST_PROGRAMS_NEED_X += test-mktemp
+TEST_PROGRAMS_NEED_X += test-online-cpus
TEST_PROGRAMS_NEED_X += test-parse-options
TEST_PROGRAMS_NEED_X += test-path-utils
TEST_PROGRAMS_NEED_X += test-prio-queue