Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

chg: user provided flag handling when running tests #1976

Merged
merged 1 commit into from
Oct 10, 2018

Conversation

rschmied
Copy link
Contributor

@rschmied rschmied commented Oct 8, 2018

This is regarding #1534

The patch re-orders the user-provided flags and appends them at the end before passing to go test. This way, flags using -xargs do not interfere with the defaults flags.

An example is the use of a flag consumed by glog -v=4 which would interfere with the -v of the go test command. The glog flag has to be passed via -xargs before the -v controlling the verbosity of the test output.

Copy link
Contributor

@ramya-rao-a ramya-rao-a left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rschmied, I see that this is your first contribution to vscode-go. Welcome & Thanks!
I hope that you have registered both for the Microsoft Hacktoberfest and the one from Digitalocean

Happy Coding!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants