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

Run netfx tests with 64-bit xunit #4271

Merged
merged 1 commit into from
Sep 19, 2021
Merged

Run netfx tests with 64-bit xunit #4271

merged 1 commit into from
Sep 19, 2021

Conversation

zivkan
Copy link
Member

@zivkan zivkan commented Sep 17, 2021

Bug

Fixes: NuGet/Home#11243

Regression? Last working version:

Description

Run .NET Framework tests with 64-bit xunit.console.exe, rather than 32-bit xunit.console.x86.exe.

PR Checklist

  • PR has a meaningful title

  • PR has a linked issue.

  • Described changes

  • Tests

    • Automated tests added
    • OR
    • Test exception
    • OR
    • N/A: Infrastructure
  • Documentation

    • Documentation PR or issue filled
    • OR
    • N/A

@zivkan zivkan requested a review from a team as a code owner September 17, 2021 01:26
Copy link
Contributor

@erdembayar erdembayar left a comment

Choose a reason for hiding this comment

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

👏 👏 👏

@aortiz-msft aortiz-msft self-requested a review September 17, 2021 15:31
Copy link
Contributor

@kartheekp-ms kartheekp-ms left a comment

Choose a reason for hiding this comment

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

The xunit.runner.console package has a .props file with below properties defined. Can we just use XunitConsole472Path property instead in a follow-up PR?

<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">

  <PropertyGroup>
//removed   to keep the content simple
  <XunitConsole472Path>$(MSBuildThisFileDirectory)..\tools\net472\xunit.console.exe</XunitConsole472Path>
   <XunitConsole472PathX86>$(MSBuildThisFileDirectory)..\tools\net472\xunit.console.x86.exe</XunitConsole472PathX86>
  </PropertyGroup>

</Project>

@zivkan
Copy link
Member Author

zivkan commented Sep 19, 2021

We could, I like the idea. I was going to commit the change now, but we'd still need to import the props file, so when the package version changes, there will still be two places to modify (PackageDownload, and the import path), so in the end it doesn't make it any "easier" to change package versions. So, I'm going to merge as-is for now.

@zivkan zivkan merged commit 071a62f into dev Sep 19, 2021
@zivkan zivkan deleted the dev-zivkan-64bit-tests branch September 19, 2021 00:10
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.

Run NuGet.Client's .NET Framework tests in 64-bit
6 participants