[CXX-2088] Implement ENABLE_TESTS CMake option Created: 07/Aug/20  Updated: 28/Oct/23  Resolved: 12/Nov/20

Status: Closed
Project: C++ Driver
Component/s: Build, Testing
Affects Version/s: None
Fix Version/s: 3.7.0, 3.7.0-beta1

Type: Improvement Priority: Major - P3
Reporter: Roberto Sanchez Assignee: Kevin Albertson
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by CXX-1923 disable tests during build Closed

 Description   

The C++ Driver build should have a CMake option, ENABLE_TESTS, modeled after the option of the same name from the C Driver. When its value is set to ON, no tests should be run neither should any testing components be built.



 Comments   
Comment by Githook User [ 12/Nov/20 ]

Author:

{'name': 'Kevin Albertson', 'email': 'kevin.albertson@mongodb.com', 'username': 'kevinAlbs'}

Message: CXX-2088 add ENABLE_TESTS option (#747)
Branch: master
https://github.com/mongodb/mongo-cxx-driver/commit/9ba665ecd4a92a9ff3bf72f676d5706817c311c0

Comment by Kevin Albertson [ 11/Nov/20 ]

PR: https://github.com/mongodb/mongo-cxx-driver/pull/747

Generated at Wed Feb 07 22:04:51 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.