This is an archive of the discontinued LLVM Phabricator instance.

LibclangTest: remove libclang-test-* tmp dir reliably
ClosedPublic

Authored by vedgy on Feb 6 2023, 9:43 AM.

Details

Summary

Temporary directories created by two LibclangReparseTest tests -
ReparseWithModule and clang_parseTranslationUnit2FullArgv - remained in
the system temporary directory after running libclangTests, because not
all files and subdirectories created in TestDir were added to set
LibclangParseTest::Files.

Diff Detail

Event Timeline

vedgy created this revision.Feb 6 2023, 9:43 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 6 2023, 9:43 AM
vedgy requested review of this revision.Feb 6 2023, 9:43 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 6 2023, 9:43 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
vedgy added a comment.Feb 25 2023, 4:20 AM

@aaron.ballman, this test fix is independent from D143418 and can be reviewed separately.

vedgy updated this revision to Diff 500551.Feb 26 2023, 5:21 AM

Rebase on latest main branch

This revision is now accepted and ready to land.Feb 27 2023, 10:59 AM

Can someone merge/land this review? I don't have commit access.

Can someone merge/land this review? I don't have commit access.

I'm happy to do that for you -- what name and email address would you like me to use for patch attribution?

vedgy added a comment.Mar 1 2023, 6:34 AM

Can someone merge/land this review? I don't have commit access.

I'm happy to do that for you -- what name and email address would you like me to use for patch attribution?

user.email=igorkuo@gmail.com
user.name=Igor Kushnir

A pity that Phabricator doesn't pick up git user name and email.

This revision was landed with ongoing or failed builds.Mar 1 2023, 6:45 AM
This revision was automatically updated to reflect the committed changes.

Can someone merge/land this review? I don't have commit access.

I'm happy to do that for you -- what name and email address would you like me to use for patch attribution?

user.email=igorkuo@gmail.com
user.name=Igor Kushnir

Thanks!

A pity that Phabricator doesn't pick up git user name and email.

Yeah, Phab works well for a lot of things but still has some rough edges unfortunately. I've landed this on your behalf in 3eceab95f314edb85ee72c047a4acd35e757d037