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

Test different combinations of options #39

Open
mgorny opened this issue Jun 4, 2021 · 1 comment
Open

Test different combinations of options #39

mgorny opened this issue Jun 4, 2021 · 1 comment

Comments

@mgorny
Copy link

mgorny commented Jun 4, 2021

I think we should be testing all different combinations of options, e.g. <all -rtlib options> x <all -stdlib options> x ...

For example, on Gentoo -rtlib=libgcc -fsanitize=address works fine but -rtlib=compiler-rt -fsanitize=address fails due to missing unwinder linking.

I suppose we could solve this by adding tests inline but I think there is some way to parametrize tests in lit, i.e. use one test case with multiple variants of substitution.

@sylvestre
Copy link
Collaborator

@mgorny would you like to give it a try ? ;)

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

No branches or pull requests

2 participants