Skip to content

Fix regression tests to not create temp files outside the lit temp directory. #624

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

Merged
merged 4 commits into from
Jun 22, 2021

Conversation

mattmccutchen-cci
Copy link
Member

Fixes #606.

Instead, put `FOO` on a separate run line. `cd` affects later RUN lines,
and `cd DIR && FOO` could mislead the reader that it doesn't and that's
why we needed to put both parts on one line. I added the proposed
guideline to #346.

I'm changing the existing tests before changing more tests to use `cd`
as part of this PR.
Copy link
Member

@kyleheadley kyleheadley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@mattmccutchen-cci mattmccutchen-cci merged commit 91db852 into main Jun 22, 2021
@mattmccutchen-cci
Copy link
Member Author

Thanks Kyle!

@mattmccutchen-cci mattmccutchen-cci deleted the test-tmpfiles branch June 22, 2021 15:21
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

Successfully merging this pull request may close these issues.

Some 3C regression tests create temporary files directly in build/tools/clang/test/3C
2 participants