Skip to content

Query Boost.Test Version#105

Open
netspiri wants to merge 4 commits intomicrosoft:dev15from
netspiri:feature/boost.test-version
Open

Query Boost.Test Version#105
netspiri wants to merge 4 commits intomicrosoft:dev15from
netspiri:feature/boost.test-version

Conversation

@netspiri
Copy link
Copy Markdown

Cherry-pick of: etas/vs-boost-unit-test-adapter@e9702ddafb41d68488bf3498384df277c6ba73d2, etas/vs-boost-unit-test-adapter@0744b668cc6ec0501bd93ce69a703e4b5b4115ce, etas/vs-boost-unit-test-adapter@d801ccfa05e06c0ec61bb9ef093ecab7a5cde717.

This change-set allows for the test adapter to query the Boost.Test version at runtime, allowing the adapter to selectively enable/disable feature sets based on the underlying test framework version (e.g. #101).

Tested and confirmed to work with Boost 1.61 and Boost 1.68.

Brian Gatt added 4 commits October 22, 2018 14:07
- Coalesce '--list_content' and '--version' support determination
- Represent capability requests in terms of Boost versions
- Apply caching on Boost.Test runner production to minimise symbol lookups
- Add <ForceBoostVesion> configuration setting
- Avoid retaining cache over multiple 'discovery' sessions
@netspiri netspiri changed the title Feature/boost.test version Query Boost.Test Version Nov 20, 2018

public string Source => Runner.Source;

public int Execute(BoostTestRunnerCommandLineArgs args, BoostTestRunnerSettings settings, IProcessExecutionContext executionContext)
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

This will have to change to ExecuteAsync if merged after the async PR goes in.

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.

2 participants