Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix NUnit3 task on Linux #276

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

ermshiperete
Copy link
Contributor

@ermshiperete ermshiperete commented Mar 1, 2018

Current nunit3-console versions use "--" as switch separator on
both Windows and Linux. Also the --verbose switch has been
replaced by --trace=Verbose.


This change is Reviewable

Current nunit3-console versions use "--" as switch separator on
both Windows and Linux. Also the --verbose switch has been
replaced by --trace=Verbose.
Copy link

@JorisSpriet JorisSpriet left a comment

Choose a reason for hiding this comment

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

With this change, if you now specify both Verbose and InternalTrace task properties, it now creates two times the --trace option for the console runner


builder.AppendSwitchIfNotNull(c+"trace=", _trace);
builder.AppendSwitchIfNotNull("--trace=", _trace);

Choose a reason for hiding this comment

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

Propose to change to:

if(!Verbose) builder.AppendSwitchIfNotNull("--trace=", _trace);

@ermshiperete
Copy link
Contributor Author

@JorisSpriet Good catch. What should happen if a user specifies both Verbose and InternalTrace?

@JorisSpriet
Copy link

JorisSpriet commented Jun 19, 2018 via email

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