Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Build tests prior to executing them#4523

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
epistax wants to merge3 commits intomicrosoft:main
base:main
Choose a base branch
Loading
fromepistax:building-tests

Conversation

@epistax
Copy link

@epistaxepistax commentedJul 22, 2025
edited
Loading

This change addresses item#4515

This changes the build-before-test behavior

The following changes are proposed:

  • When build before test is enabled, the extension will review the list of selected tests, which projects they are in, and request a minimum build from CMake.
  • This is done by explicitly asking CMake to build the test executables.

The purpose of this change

  • When building before test, the current behavior is to pass no build target to CMake, resulting in the ALL target.
  • This will require that everything built by ALL works in order to runany test. The only alternative is for the user to disable build before testing entirely, which is also not ideal.
  • It's also possible that the particular target needed to built the test is excluded fromall in which case the current build isn't sufficient to prepare the selected test(s) to run.

Other Notes/Information

I have never contributed to this project before and I ran into difficulties running the tests. I was not able to find any testss related to the change and I'd be willing to expand the test base with a little bit of instruction. I was not able to find a proper venue for getting started with the testing. There appears to be some required machine setup prior to running the tests. Thank you for any assistance!
This change opens up the possibility for very long command lines when invoking CMake. I am not aware if munging is taken care of automatically or if I need to introduce something myself.

zwassall-gentuity reacted with thumbs up emoji
@epistax
Copy link
Author

@microsoft-github-policy-service agree company="Markem-Imaje"

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

@epistax

[8]ページ先頭

©2009-2025 Movatter.jp