microsoft / scalar

Scalar: A set of tools and extensions for Git to allow very large monorepos to run on Git without a virtualization layer
MIT License
1.39k stars 63 forks source link

Allow functional tests to use Git from $PATH #419

Closed chrisd8088 closed 4 years ago

chrisd8088 commented 4 years ago

We implement the equivalent of the existing --test-scalar-on-path functional test command-line option for Git also, namely by adding a new --test-git-on-path option.

This permits the manual execution of the functional test suite on systems where the default installation of Git may not be sufficient to support Scalar; e.g., it may be an older version or not the Microsoft Git custom package.

The existing CI jobs are not affected by this change as the default when the new command-line option is not provided is to continue to look for Git as C:\Program Files\Git\cmd\git.exe on Windows and /usr/local/bin/git on macOS, as the functional test program did before.

chrisd8088 commented 4 years ago

/azp run microsoft.scalar (macOS Functional Test (with Watchman))

azure-pipelines[bot] commented 4 years ago
Commenter does not have sufficient privileges for PR 419 in repo microsoft/scalar