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

Using cpp! macro in integration tests #100

Open
Ayush1325 opened this issue Jan 17, 2022 · 1 comment
Open

Using cpp! macro in integration tests #100

Ayush1325 opened this issue Jan 17, 2022 · 1 comment

Comments

@Ayush1325
Copy link

Is there a way to use cpp! in integration tests? Currently, in the build script, we pass project root. However, integration tests don't get included in the library root and thus the cpp code is not generated. Calling build on integration test file separately does not work either. So is there any solution for this?

@ogoffart
Copy link
Collaborator

Calling build on integration test file separately does not work either.

Why doesn't that work?

I guess then what you need to do is to move such tests to a separate crate so the test can have their build script.

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