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

[vcpkg] Fix "[commands-build] build smoke test" #12128

Merged
merged 2 commits into from
Jun 26, 2020

Conversation

ras0219
Copy link
Contributor

@ras0219 ras0219 commented Jun 26, 2020

  1. Do not exit with a success code in Build::perform, because this causes failures in other tests to be ignored.
  2. Use temp directory to avoid interference with the current set of {installed, buildtrees, packages}
  3. Explicitly disable binary caching
  • Which triplets are supported/not supported? Have you updated the CI baseline?

N/A

Yes

1. Do not exit with a success code in Build::perform, because this causes failures in other tests to be ignored.
2. Use temp directory to avoid interference with the current set of {installed, buildtrees, packages}
3. Explicitly disable binary caching
Return 1 for the last failure case in Build::perform() so testing may continue.
Copy link
Contributor

@strega-nil strega-nil left a comment

Choose a reason for hiding this comment

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

Just the one change, then approved!

toolsrc/src/vcpkg-test/commands.build.cpp Show resolved Hide resolved
@ras0219-msft ras0219-msft merged commit 7ebb42a into microsoft:master Jun 26, 2020
strega-nil pushed a commit to strega-nil/vcpkg that referenced this pull request May 5, 2021
* [vcpkg] Fix "[commands-build] build smoke test"

1. Do not exit with a success code in Build::perform, because this causes failures in other tests to be ignored.
2. Use temp directory to avoid interference with the current set of {installed, buildtrees, packages}
3. Explicitly disable binary caching

* [vcpkg] Disable binarycaching in "build smoke test", "[commands-build]"

Return 1 for the last failure case in Build::perform() so testing may continue.

Co-authored-by: Robert Schumacher <[email protected]>
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