Skip to content

Pass nocolor to xunit if archived#2114

Merged
ViktorHofer merged 2 commits into
dotnet:masterfrom
ViktorHofer:NoColorXUnit
Feb 26, 2019
Merged

Pass nocolor to xunit if archived#2114
ViktorHofer merged 2 commits into
dotnet:masterfrom
ViktorHofer:NoColorXUnit

Conversation

@ViktorHofer

Copy link
Copy Markdown
Member

@ViktorHofer ViktorHofer requested a review from safern February 26, 2019 18:34
@ViktorHofer ViktorHofer self-assigned this Feb 26, 2019

@wfurt wfurt left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

thanks @ViktorHofer . I assume the ArchiveTests is not set during "normal" test run by developer, right?

@ViktorHofer

Copy link
Copy Markdown
Member Author

Correct.

<TestAssembly Condition="'$(TestAssembly)' == ''">$(TargetFileName)</TestAssembly>
<TestPath Condition="'$(TestPath)' == ''">$(OutDir)</TestPath>
<RunWorkingDirectory>$(TestPath)</RunWorkingDirectory>
<ArchiveTest Condition="'$(ArchiveTests.ToLower())' == 'all' OR $(MSBuildProjectName.EndsWith('.$(ArchiveTests)'))"></ArchiveTest>

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Maybe I'm confused here, why are you setting this to empty, and then using ArchiveTest as a boolean?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

lol => should be true.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Thanks!!!!!!!!!!!!!!!! 🗡

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

🤣

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.

3 participants