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

Support extra compiler flags in single file tests #252

Open
afd opened this issue Jul 5, 2024 · 0 comments
Open

Support extra compiler flags in single file tests #252

afd opened this issue Jul 5, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@afd
Copy link
Member

afd commented Jul 5, 2024

Extra flags, such as -std=c++20, can be passed to Dredd on the command line, e.g.:

./third_party/clang+llvm/bin/dredd --mutation-info-file temp.json blah.cc -- -std=c++20

For single file tests, if we would like to be able to test examples that use special features, we would need a way to specify such options.

An example feature that would need this is constinit.

@JamesLee-Jones for info.

@afd afd added the enhancement New feature or request label Jul 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant