This is an archive of the discontinued LLVM Phabricator instance.

[LNT] "lnt profile upgrade" crashes when output points to an inexistent file
ClosedPublic

Authored by leandron on Jul 14 2017, 6:16 AM.

Details

Summary

Regression when moving to "click" for command line parsing. "lnt profile upgrade" crashes when output points to an inexistent file. Also adds a test case.

So, this change:

  • prevents click to check the path beforehand
  • adds a test case to check "lnt profile upgrade" output to a new file

Diff Detail

Event Timeline

leandron created this revision.Jul 14 2017, 6:16 AM
This revision is now accepted and ready to land.Jul 14 2017, 1:55 PM

@cmatthews Do you mind to commit this change for me as I don't have commit access yet ?

leandron closed this revision.Jul 18 2017, 2:16 AM

commited as r308230