-
Type: Improvement
-
Resolution: Fixed
-
Priority: Minor - P4
-
Affects Version/s: 1.10.0
-
None
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:
make test-libmongoc && ./test-libmongoc --no-fork
But it'd be better to make this possible with our custom "check" target:
make check TEST_ARGS="--no-fork -D -l /My/test/name"
Or even better, somehow customize the "test" target that cmake's enable_testing() function creates for us, so that it accepts arguments:
make test TEST_ARGS="--no-fork -D -l /My/test/name"
- is related to
-
CDRIVER-2593 CMake 'distcheck' strips make options/switches
- Closed