[CDRIVER-2599] Pass test options to "make test" or "make check" Created: 06/Apr/18 Updated: 28/Oct/23 Resolved: 05/May/18 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | cmake, tests |
| Affects Version/s: | 1.10.0 |
| Fix Version/s: | 1.10.0 |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | A. Jesse Jiryu Davis | Assignee: | Unassigned |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Epic Link: | Remove Autotools | ||||||||
| Description |
|
When we ported the "make test" and "make check" targets from the Autotools to CMake we lost the ability to pass test arguments to the test runner. We can still do something like:
But it'd be better to make this possible with our custom "check" target:
Or even better, somehow customize the "test" target that cmake's enable_testing() function creates for us, so that it accepts arguments:
|
| Comments |
| Comment by A. Jesse Jiryu Davis [ 05/May/18 ] | |
|
In the end, I simply updated the instructions to tell contributors to call test-libmongoc directly so they can pass command line arguments. | |
| Comment by Githook User [ 05/May/18 ] | |
|
Author: {'email': 'jesse@mongodb.com', 'name': 'A. Jesse Jiryu Davis', 'username': 'ajdavis'}Message: | |
| Comment by A. Jesse Jiryu Davis [ 12/Apr/18 ] | |
|
Possibly?:
|