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

[nomerge] Fix integration tests #483

Closed
wants to merge 44 commits into from

Conversation

sbomer
Copy link
Member

@sbomer sbomer commented Mar 8, 2019

This change fixes the integration tests to work with the recent directory layout change, using the 3.0 SDK (it depends on #478).

The MusicStore tests have been disabled for now due to aspnet/JitBench#96.

@sbomer sbomer requested a review from marek-safar as a code owner March 8, 2019 01:19
@sbomer sbomer force-pushed the fixIntegrationTests branch 8 times, most recently from 33f802a to 48b2489 Compare April 10, 2019 17:23
@sbomer sbomer force-pushed the fixIntegrationTests branch 3 times, most recently from a01e2f3 to d9ebe01 Compare April 17, 2019 17:49
@sbomer sbomer force-pushed the fixIntegrationTests branch 3 times, most recently from 792ff6e to bd82bcc Compare May 3, 2019 16:32
sbomer added 14 commits May 28, 2019 09:08
Instead of restoring the locally-built nuget package. This more
closely matches how the linker will be used in the future, since it is
being included in the SDK rather than through PackageReferences.
This was not working on windows, and according to the docs should
never have worked on OSX. See
https://github.com/dotnet/corefx/issues/36713.
Also use lowercase arguments on unix for consistency. The scripts
accept case-insensitive args, but use lowercase args themselves.
Instead of injecting the path to the tasks dll, the tests now inject
the path to a directory that contains each TFM-specific
implementation. It then imports the same Sdk.props that are imported
by the SDK.

The tests now contain a local version of the SDK targets, to
facilitate testing in a way that matches the SDK behavior as closely
as possible while using a local build of the task dll.
@sbomer sbomer force-pushed the fixIntegrationTests branch from 509f059 to ed2a6bb Compare May 28, 2019 16:09
@marek-safar marek-safar closed this Aug 3, 2019
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.

None yet

2 participants