diff options
author | Junio C Hamano <gitster@pobox.com> | 2019-02-07 07:05:26 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-02-07 07:05:26 +0100 |
commit | 57cbc53d3e0567d630b3e08be41e555efb06f616 (patch) | |
tree | 97fbb06114350cebe37f5f68e41206e53e43c7f8 /ci/run-build-and-tests.sh | |
parent | Merge branch 'br/commit-tree-fully-spelled-gpg-sign-option' (diff) | |
parent | test-date: drop unused parameter to getnanos() (diff) | |
download | git-57cbc53d3e0567d630b3e08be41e555efb06f616.tar.xz git-57cbc53d3e0567d630b3e08be41e555efb06f616.zip |
Merge branch 'js/vsts-ci'
Prepare to run test suite on Azure Pipeline.
* js/vsts-ci: (22 commits)
test-date: drop unused parameter to getnanos()
ci: parallelize testing on Windows
ci: speed up Windows phase
tests: optionally skip bin-wrappers/
t0061: workaround issues with --with-dashes and RUNTIME_PREFIX
tests: add t/helper/ to the PATH with --with-dashes
mingw: try to work around issues with the test cleanup
tests: include detailed trace logs with --write-junit-xml upon failure
tests: avoid calling Perl just to determine file sizes
README: add a build badge (status of the Azure Pipelines build)
mingw: be more generous when wrapping up the setitimer() emulation
ci: use git-sdk-64-minimal build artifact
ci: add a Windows job to the Azure Pipelines definition
Add a build definition for Azure DevOps
ci/lib.sh: add support for Azure Pipelines
tests: optionally write results as JUnit-style .xml
test-date: add a subcommand to measure times in shell scripts
ci: use a junction on Windows instead of a symlink
ci: inherit --jobs via MAKEFLAGS in run-build-and-tests
ci/lib.sh: encapsulate Travis-specific things
...
Diffstat (limited to 'ci/run-build-and-tests.sh')
-rwxr-xr-x | ci/run-build-and-tests.sh | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/ci/run-build-and-tests.sh b/ci/run-build-and-tests.sh index 84431c097e..cdd2913440 100755 --- a/ci/run-build-and-tests.sh +++ b/ci/run-build-and-tests.sh @@ -3,11 +3,14 @@ # Build and test Git # -. ${0%/*}/lib-travisci.sh +. ${0%/*}/lib.sh -ln -s "$cache_dir/.prove" t/.prove +case "$CI_OS_NAME" in +windows*) cmd //c mklink //j t\\.prove "$(cygpath -aw "$cache_dir/.prove")";; +*) ln -s "$cache_dir/.prove" t/.prove;; +esac -make --jobs=2 +make make test if test "$jobname" = "linux-gcc" then |