Autotest: run_pylint.py results in success even if file doesn't exist |
||||
Issue descriptionIn Autotest, the src/third_party/autotest/files/utils/run_pylint.py script returns 0 (success) and doesn't emit any error output if the argument file to be examined doesn't exist. To reproduce: Navigate to the autotest/files directory. Execute ./utils/run_pylint.py SomePathAndFileThatDoesNotExist Note that no output or errors are printed. Execute echo $? Note that it returns 0 (success). Expected behavior: If directed to analyze a file that does not exist, an error should be returned.
,
Jul 26 2016
,
Aug 3 2016
i don't really have interest in the autotest wrapper, and `cros lint asdfasdf.py` seems to DTRT. so maybe convert to cros lint ? :)
,
Jan 31 2017
,
Mar 10 2018
|
||||
►
Sign in to add a comment |
||||
Comment 1 by sbasi@chromium.org
, Jul 22 2016