Skip to content

Give readable names to subtests and run in parallel #641

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

Closed
wants to merge 3 commits into from

Conversation

niaow
Copy link
Member

@niaow niaow commented Oct 19, 2019

This patch restructures the tests a bit so that the names of the subtests indicate the platform that they were run on. Additionally, the tests are now run in parallel. On my machine, this reduced the time needed to run the tests from 81 seconds to 28 seconds.

@niaow niaow added the enhancement New feature or request label Oct 19, 2019
@niaow
Copy link
Member Author

niaow commented Oct 19, 2019

Huh. Something appears to have gone wrong sometimes.

@aykevl
Copy link
Member

aykevl commented Oct 19, 2019

Looking at the errors this indicates some sort of memory corruption. See also #337. I had hoped that this would have been fixed with the correctness fixes you did but it doesn't look like it unfortunately.

@niaow
Copy link
Member Author

niaow commented Oct 20, 2019

It looks like we are using the global context for the one thing my IR checker did not check

@niaow niaow force-pushed the testnames branch 6 times, most recently from eb6593b to 048cdfe Compare October 20, 2019 12:30
@niaow
Copy link
Member Author

niaow commented Oct 20, 2019

Alright, I am out of ideas.

@niaow niaow force-pushed the testnames branch 3 times, most recently from b824828 to 6631fc7 Compare October 22, 2019 16:53
@aykevl
Copy link
Member

aykevl commented Nov 2, 2019

Perhaps you could split this into two PRs? The first one just for the subtests (which is a relatively simple change) and then we can look at parallelizing LLVM.
There are also some correctness bugs (avoiding the global context) that should be fixed whatever we do about parallelization.

@niaow
Copy link
Member Author

niaow commented Nov 4, 2019

@aykevl I split out the subtests part into #689

@niaow niaow closed this Jan 3, 2020
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

Successfully merging this pull request may close these issues.

2 participants