This website works better with JavaScript.
Explore
Help
Sign In
pghs975uc
/
infer_clone
Watch
1
Star
0
Fork
You've already forked infer_clone
0
Code
Issues
Pull Requests
Releases
Wiki
Activity
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
e06f1e401f
master
Branches
Tags
${ item.name }
Create tag
${ searchTerm }
Create branch
${ searchTerm }
from 'e06f1e401f'
${ noResults }
infer_clone
/
infer
/
tests
/
codetoanalyze
/
java
/
checkers
/
.inferconfig
7 lines
90 B
Raw
Normal View
History
Unescape
Escape
Convert Eradicate and Checkers tests to direct format. Summary: This diff converts the Eradicate and Checkers tests to the new direct test format, which does not rely on buck or junit. A self-contained Makefile is used to compile and analyze the test files, including all the dependencies, and a special option in InferPrint is used to produce a file of expected results `issues.exp`, which is checked into the repository. Having an explicit Makefile makes it easy to edit and compile one set of test files in isolation, to investigate test failures, do debugging, etc. A bunch of boilerplate code is removed. For example, the single file of expected results `issues.exp` replaces the 1.5K LOC in `endtoend/java/eradicate`. Reviewed By: jvillard Differential Revision: D3764632 fbshipit-source-id: 6c68ab8
8 years ago
{
[config] add option to force deletion of results dir Summary: Since D5381239, infer is careful not to delete directories that do not "look like" results directories on startup, in case the user passed, eg, `-o /`. In our repo, lots of results dir are created by build/test of infer, and when the version of infer changes and the expected contents of results directories change then it might start refusing to delete the results directories created with another version of infer. Add an option to force infer to delete the results directory no matter how dodgy it looks, and use it in our repo by adding the option in every .inferconfig. Reviewed By: mbouaziz Differential Revision: D5870984 fbshipit-source-id: 09412de
7 years ago
"force-delete-results-dir": true,
[java] Add command-line option to specify external Java packages Summary: Add a new command-line option `--external-java-packages` which allows the user to specify a list of Java package prefixes for external packages. Then the analysis will not report non-actionable warnings on those packages (e.g., inconsistent `Nullable` annotations in external packages). Reviewed By: jeremydubreil Differential Revision: D7126960 fbshipit-source-id: c4f3c7c
7 years ago
"external-java-packages": [
"external."
Convert Eradicate and Checkers tests to direct format. Summary: This diff converts the Eradicate and Checkers tests to the new direct test format, which does not rely on buck or junit. A self-contained Makefile is used to compile and analyze the test files, including all the dependencies, and a special option in InferPrint is used to produce a file of expected results `issues.exp`, which is checked into the repository. Having an explicit Makefile makes it easy to edit and compile one set of test files in isolation, to investigate test failures, do debugging, etc. A bunch of boilerplate code is removed. For example, the single file of expected results `issues.exp` replaces the 1.5K LOC in `endtoend/java/eradicate`. Reviewed By: jvillard Differential Revision: D3764632 fbshipit-source-id: 6c68ab8
8 years ago
]
}