Jules Villard
d5e7ee0d82
[tests] run tests using report.json and record all bugs + exceptions
...
Summary:
Instead of the custom filtering done by `InferPrint --issues-tests`, use the
filtering done by `infer` and run without filtering for our e2e tests. We still
test the filtering for our build systems integration tests, and this diff
restores that behaviour for the ant test (hence the bugs removed from
ant/issues.exp).
Also add internal exceptions to most tests to get more signal out of them (eg,
knowing when we add assertion failures and the like).
Retire the old `--issues-tests` to limit the number of ways we do filtering.
Reviewed By: jeremydubreil
Differential Revision: D4131308
fbshipit-source-id: 35805cc
8 years ago
Jules Villard
c9bac51b81
[tests] make clang tests Makefile more functional
...
Summary:
This makes the tests depend on much fewer phony targets, thus reducing the need
to rerun the tests when nothing has changed.
Reviewed By: jberdine
Differential Revision: D4118457
fbshipit-source-id: 664b6e3
8 years ago
Ryan Rhee
aac14999b0
[componentkit] Whitelist Native Templates
...
Reviewed By: tks2103
Differential Revision: D4090237
fbshipit-source-id: 63f233e
8 years ago
Ryan Rhee
a45d59e478
[componentkit] Don't count unavailable initializers
...
Reviewed By: tks2103
Differential Revision: D4090154
fbshipit-source-id: e0626e6
8 years ago
Ryan Rhee
5752b14d9c
[componentkit] Skip implicit variables during MLV check
...
Reviewed By: dulmarod
Differential Revision: D4084601
fbshipit-source-id: 1c919cd
8 years ago
Ryan Rhee
5580be8dcc
[componentkit] Initializer With Side-Effect Analyzer
...
Reviewed By: dulmarod
Differential Revision: D4063217
fbshipit-source-id: 7196a64
8 years ago
Ryan Rhee
c2a8dae26f
[componentkit] Multiple factory methods
...
Reviewed By: dulmarod
Differential Revision: D4033747
fbshipit-source-id: cf2801b
8 years ago
Ryan Rhee
e73350598a
[componentkit] Unconventional superclass rule
...
Reviewed By: dulmarod
Differential Revision: D3954639
fbshipit-source-id: 5d61c66
8 years ago
Ryan Rhee
a4501462cc
[componentkit] Reference fake header in build system test
...
Reviewed By: dulmarod
Differential Revision: D4033937
fbshipit-source-id: adccbd6
8 years ago
Josh Berdine
6697ed781f
[tests] Rerun test without swallowing output on failure
...
Reviewed By: jvillard
Differential Revision: D3992995
fbshipit-source-id: 85d2586
8 years ago
Jules Villard
7d49e16d63
[clang] rewrite hijack_and_normalize_clang_command in OCaml
...
Summary:
Let's start migrating some of our bash script to OCaml to make them easier to
maintain and extend.
For now replace just one script and put it in lib/clang_wrappers/ at compile
time, where the former script used to be. Further simplifications will come
later.
Reviewed By: jberdine
Differential Revision: D3929988
fbshipit-source-id: b2d8b37
8 years ago
Ryan Rhee
272c21ff70
[componentkit] Factory functions analyzer
...
Reviewed By: dulmarod
Differential Revision: D3933693
fbshipit-source-id: 6294fb4
8 years ago
Ryan Rhee
967532ea2e
[componentkit][test] Rename test files
...
Reviewed By: dulmarod
Differential Revision: D3924307
fbshipit-source-id: 77ddfac
8 years ago
Ryan Rhee
df988dd051
[componentkit][test] Import proper fake header in second test
...
Reviewed By: dulmarod
Differential Revision: D3924245
fbshipit-source-id: 16a110a
8 years ago
Ryan Rhee
6475e358c4
[componentkit][const] Ignore NSError
...
Reviewed By: martinoluca
Differential Revision: D3912232
fbshipit-source-id: adc8a55
8 years ago
Ryan Rhee
7a434adea8
[componentkit][const] Whitelist certain classes
...
Reviewed By: martinoluca
Differential Revision: D3911399
fbshipit-source-id: c523779
8 years ago
Ryan Rhee
d2ac2242c4
[componentkit][test] typedef struct -> class
...
Reviewed By: dulmarod
Differential Revision: D3909628
fbshipit-source-id: 52e9539
8 years ago
Ryan Rhee
f54b84c751
[componentkit][test] Move mock CK imports to own .h file
...
Reviewed By: dulmarod
Differential Revision: D3909240
fbshipit-source-id: 66e8b71
8 years ago
Dulma Churchill
561f4fdfad
[linters] Adding a new type of procname that is used for lint bugs that are not in any method
...
Reviewed By: cristianoc
Differential Revision: D3913535
fbshipit-source-id: cb8f840
8 years ago
Cristiano Calcagno
847c141912
[tests] Clean up test files shared between frontend and endtoend tests
...
Reviewed By: jberdine
Differential Revision: D3893900
fbshipit-source-id: 497effc
8 years ago
Cristiano Calcagno
fe21442d47
[tests] Convert the linter tests to the new direct format
...
Reviewed By: jberdine
Differential Revision: D3877153
fbshipit-source-id: a0efb3c
8 years ago
Dulma Churchill
9ae19d01d0
Make the is_global_var not fire for the static local variables
...
Reviewed By: jberdine, ryanrhee
Differential Revision: D3741764
fbshipit-source-id: 42be7f7
8 years ago
Dulma Churchill
8b0b485921
Refactoring of tests, separating the tests for linters
...
Reviewed By: sblackshear
Differential Revision: D3569981
fbshipit-source-id: 198647b
8 years ago