[CDRIVER-747] Test with address sanitizer Created: 15/Jul/15 Updated: 25/Oct/16 Resolved: 25/Oct/16 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | tests |
| Affects Version/s: | None |
| Fix Version/s: | 1.5.0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | A. Jesse Jiryu Davis | Assignee: | Hannes Magnusson |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||
| Epic Link: | C Driver in Evergreen | ||||||||||||||||||||
| Description |
|
There are several options for testing C code with an address sanitizer (asan, valgrind drd, ...), pick one and run in continuous integration. The driver should not ship with address sanitizer warnings. |
| Comments |
| Comment by Hannes Magnusson [ 25/Oct/16 ] |
|
We now run the serverless tests under valgrind. |
| Comment by Githook User [ 25/Oct/16 ] |
|
Author: {u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@php.net'}Message: |
| Comment by Githook User [ 30/Jun/16 ] |
|
Author: {u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@php.net'}Message: |
| Comment by Githook User [ 09/Jun/16 ] |
|
Author: {u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@php.net'}Message: |
| Comment by A. Jesse Jiryu Davis [ 16/Jul/15 ] |
|
And fail if there are leaks or invalid accesses. Since there are leaks and invalid accesses reported by "make valgrind", those have to be diagnosed and fixed or suppressed. |
| Comment by Hannes Magnusson [ 15/Jul/15 ] |
|
Doesn't this mean just to run "make valgrind" as apposed to currently "make test" in evergreen? |