This is an archive of the discontinued LLVM Phabricator instance.

[LNT] Fix some ResourceWarnings
ClosedPublic

Authored by danilaml on Jan 15 2021, 4:59 AM.

Details

Reviewers
thopre

Diff Detail

Repository
rL LLVM

Event Timeline

danilaml created this revision.Jan 15 2021, 4:59 AM
danilaml requested review of this revision.Jan 15 2021, 4:59 AM
thopre added inline comments.Jan 15 2021, 5:25 AM
.gitignore
10

Is that what happens when installing LNT in develop mode? In any case, this should be in a separate patch.

11
tests/runtest/test_suite-profile-import.py
23

Should be in a separate patch that fixes the other F811 error in lnt/server/reporting/analysis.py line 8

danilaml updated this revision to Diff 316925.Jan 15 2021, 6:09 AM
danilaml edited the summary of this revision. (Show Details)
danilaml marked 2 inline comments as done.
danilaml marked an inline comment as done.Jan 15 2021, 6:09 AM
danilaml added inline comments.
.gitignore
10

Maybe? It's to ignore .so files from cPref.

thopre added inline comments.Jan 15 2021, 6:17 AM
.gitignore
10

The question is why there's a cPerf.so in there. It should be created where LNT is installed, except perhaps for the develop setup mode hence my question.

danilaml added inline comments.Jan 15 2021, 6:25 AM
.gitignore
10

Not sure. Could be due to develop mode. Could be due to some other issue. Anyway, it's not important. I've deleted it and it seems to still work. Just thought I might as well add it if I'm modifying .gitignore.

danilaml marked an inline comment as done.Jan 15 2021, 8:44 AM
thopre accepted this revision.Jan 15 2021, 11:20 AM

LGTM assuming tox is clean.

This revision is now accepted and ready to land.Jan 15 2021, 11:20 AM