[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: CDRIVER-2574 implement "make check" with cmake
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/9de1cc171417d909b3ce69f6c28fc8ae3bc41a4d

Generated at Wed Feb 07 21:15:39 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.