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] Small touchups for vcpkg unit tests #11068

Merged
merged 2 commits into from Apr 29, 2020
Merged

[vcpkg] Small touchups for vcpkg unit tests #11068

merged 2 commits into from Apr 29, 2020

Conversation

horenmar
Copy link
Contributor

Describe the pull request

This improve vcpkg's unit tests a bit, per conversation with @strega-nil.

  1. Fixed bad style in negating tests with binary expression in assertion in vcpkg's Optional tests
  2. Made CTest run the tests in randomized order

The tests are trivial enough that it is unlikely to come useful,
but the old usage is bad practice.
This should prevent committing tests that are run-order dependent,
or at least shake them out eventually in CI.
@ras0219-msft ras0219-msft merged commit 6ef805c into microsoft:master Apr 29, 2020
@ras0219-msft
Copy link
Contributor

LGTM, thanks @horenmar for the drive-by fixes!

strega-nil pushed a commit to strega-nil/vcpkg that referenced this pull request May 5, 2021
* Do not disable expression decomposition in some optional tests

The tests are trivial enough that it is unlikely to come useful,
but the old usage is bad practice.

* Run tests in random order

This should prevent committing tests that are run-order dependent,
or at least shake them out eventually in CI.
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

5 participants