-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add NDK_ANALYZER_OUT, expand the test.
Allow analyzer output to be sent somewhere other than /tmp with NDK_ANALYZER_OUT. Now that we can predict the output, improve the test (since it clearly wasn't catching anything). Also, remove the test config saying the test was clang specific. It actually works with both Clang and GCC. Test: ./run_tests.py --filter NDK_ANALYZE Bug: android/ndk#362 Change-Id: I7226e6fba1190573280e8b0c21b8550fb5636005
- Loading branch information
Showing
4 changed files
with
30 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,5 @@ | ||
void foo() {} | ||
#include <malloc.h> | ||
|
||
void foo() { | ||
malloc(0); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters