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

Speed up integration tests #47

Closed
elliotchance opened this issue Apr 17, 2017 · 2 comments
Closed

Speed up integration tests #47

elliotchance opened this issue Apr 17, 2017 · 2 comments

Comments

@elliotchance
Copy link
Owner

It's nice to have one C file per function, but where there is little change in syntax between the files (like testing all the math.h functions) this just means the tests take a long time.

We should consider reducing these into a single test file, like tests/math.c which will make testing much faster.

@zoeyfyi
Copy link
Contributor

zoeyfyi commented Apr 17, 2017

The integration tests could also probably be made to run in parallel.

@elliotchance
Copy link
Owner Author

Parallel would be better, but I still think that running through the entire build chain just to test if a single function outputs the correct value is proving to be overkill.

After all, these are integrations tests so they are made to test a bunch of stuff in a single round.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants