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

Should the test harness clean up emitted files as it runs? #4082

Closed
StephanTLavavej opened this issue Oct 11, 2023 · 1 comment · Fixed by #4086
Closed

Should the test harness clean up emitted files as it runs? #4082

StephanTLavavej opened this issue Oct 11, 2023 · 1 comment · Fixed by #4086
Labels
fixed Something works now, yay! test Related to test code

Comments

@StephanTLavavej
Copy link
Member

I just ran a full test pass (I am unusual because I do this during toolset updates) and it consumed about 200 gigs (newly expanded by ASAN configurations) and I ran out of space on my drive. I had long been aware that full test passes consumed a lot of space, but this was the first time it caused so much trouble.

There's no reason we need to keep emitted .obj and .exe files after a test has run. IIRC, the test harness creates fresh subdirectories for each configuration. Can we delete those subdirectories when we're done with them, so a full test pass won't permanently consume any space?

@StephanTLavavej StephanTLavavej added the test Related to test code label Oct 11, 2023
@StephanTLavavej
Copy link
Member Author

We talked about this at the weekly maintainer meeting; @strega-nil-ms mentioned that she's in favor of this change too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fixed Something works now, yay! test Related to test code
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant