Thread (192 messages) 192 messages, 13 authors, 2021-03-26
STALE1950d
Revisions (4)
  1. v3 [diff vs current]
  2. v4 current
  3. v5 [diff vs current]
  4. v6 [diff vs current]

[PATCH v4 20/21] ci: speed up Windows phase

From: Johannes Schindelin via GitGitGadget <hidden>
Date: 2019-01-23 14:40:40
Subsystem: the rest · Maintainer: Linus Torvalds

From: Johannes Schindelin <redacted>

As Unix shell scripting comes at a hefty price on Windows, we have to
see where we can save some time to run the test suite.

Let's skip the chain linting and the bin-wrappers/ redirection on
Windows; this seems to shave of anywhere between 10-30% from the overall
runtime.

Signed-off-by: Johannes Schindelin <redacted>
---
 ci/lib.sh | 2 ++
 1 file changed, 2 insertions(+)
diff --git a/ci/lib.sh b/ci/lib.sh
index 91cf1402bf..e1d5222ceb 100755
--- a/ci/lib.sh
+++ b/ci/lib.sh
@@ -43,6 +43,8 @@ then
 	BREW_INSTALL_PACKAGES=
 	export GIT_PROVE_OPTS="--timer --jobs 10 --state=failed,slow,save"
 	export GIT_TEST_OPTS="--verbose-log -x --write-junit-xml"
+	test windows_nt != "$CI_OS_NAME" ||
+	GIT_TEST_OPTS="--no-chain-lint --no-bin-wrappers $GIT_TEST_OPTS"
 fi
 
 skip_branch_tip_with_tag () {
-- 
gitgitgadget
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help