Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

Fix broken unit test #152

Merged
merged 2 commits into from
Dec 1, 2017
Merged

Fix broken unit test #152

merged 2 commits into from
Dec 1, 2017

Conversation

kzu
Copy link
Contributor

@kzu kzu commented Dec 1, 2017

No description provided.

kzu added 2 commits December 1, 2017 12:05
A new `[OpenBuildLog]` can be used to annotate `[Fact]/[Theory]` tests so that
right after a build happens, the automatically generated .binlog is opened using
Process.Start. This will only work if the viewer is installed from http://msbuildlog.com.

The log is not generated unless the attribute is present, so there's no overhead
unless it's used. Also, even if you forget the attribute and commit/push, on
release builds, the attribute is ignored and the log is not launched.
The package cache lower cases all paths, which no longer matches the
package id as we were previously doing. We need to match in a case-
insensitive way therefore for private assets matching to succeed.

This fixes a broken unit test that was blocking two PRs NuGet#151 and NuGet#150.

Also, fix the nuget package versions at the time of this test authoring,
so we don't accidentally break if newer packages ever change and cause
the expectations to fail.
@kzu
Copy link
Contributor Author

kzu commented Dec 1, 2017

Build completed green, not sure why the status report didn't make it back here: https://ci.appveyor.com/project/MobileEssentials/nuget-build-packaging/build/0.2.0-pr152-build0013

@kzu kzu merged commit 76e8482 into NuGet:dev Dec 1, 2017
@kzu kzu deleted the structured branch December 1, 2017 15:28
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