Skip to content

Allow functional tests to use Git from $PATH#419

Merged
chrisd8088 merged 2 commits intomicrosoft:mainfrom
chrisd8088:func-test-git-on-path
Aug 18, 2020
Merged

Allow functional tests to use Git from $PATH#419
chrisd8088 merged 2 commits intomicrosoft:mainfrom
chrisd8088:func-test-git-on-path

Conversation

@chrisd8088
Copy link
Contributor

@chrisd8088 chrisd8088 commented Aug 17, 2020

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.

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 execution of the functional test suite on systems
where the default installation of Git may not be sufficient to
support Scalar.
@chrisd8088 chrisd8088 force-pushed the func-test-git-on-path branch from 0fe93e9 to 1231d16 Compare August 17, 2020 21:47
@chrisd8088
Copy link
Contributor Author

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

@azure-pipelines
Copy link

Commenter does not have sufficient privileges for PR 419 in repo microsoft/scalar

@chrisd8088 chrisd8088 merged commit 2dc2a2e into microsoft:main Aug 18, 2020
@chrisd8088 chrisd8088 deleted the func-test-git-on-path branch August 18, 2020 06:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants