Closed
Description
test.py currently runs all analyzer tests from the root directory of the SDK repo. Analyzer CLI looks for the .analysis_options
file in the directory analyzer was run from (not in the directory of the file being analyzed). Since there is no .analysis_options file at the root of the SDK repo, this means that all analyzer tests run by the analyzer bot are run in spec mode, even when analyzing a package whose .analysis_options
file indicates that it should be analyzed in strong mode.
Note: a clumsy workaround is to put the string // SharedOptions=--strong
at the top of the test file. This is not a great workaround, though, since we would have to remember to do it every time a test file is added.