[CDRIVER-2574] Implement "check" target in CMake build Created: 28/Mar/18 Updated: 28/Oct/23 Resolved: 05/Apr/18 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | cmake, libbson, libmongoc |
| Affects Version/s: | None |
| Fix Version/s: | 1.10.0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Roberto Sanchez | Assignee: | A. Jesse Jiryu Davis |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Epic Link: | Remove Autotools |
| Description |
|
The CMake build currently has a dummy "check" target that exists only to allow the "distcheck" sequence to complete successfully. The "check" target needs to be updated to properly invoke test-libmongoc (same as the autotools "check" target). An consideration is maybe we can implement "make test" in cmake to run test-libmongoc with MONGOC_TEST_LIVE=off (unless the outside environment explicitly set MONGOC_TEST_LIVE=on) then have "make check" depend on that "make test" target. The "make distcheck" already depends on "make check". |
| Comments |
| Comment by Githook User [ 06/Apr/18 ] |
|
Author: {'email': 'jesse@mongodb.com', 'name': 'A. Jesse Jiryu Davis', 'username': 'ajdavis'}Message: |