Actions
Feature #424
closedOFTest: exhaustive testing via special parameters
Status:
Closed
Priority:
Normal
Assignee:
Uli Schlachter
Category:
Testing
Target version:
-
Start date:
2012-05-16
Due date:
% Done:
100%
Estimated time:
Module:
Operating System:
Compiler:
Description
Support for exhaustive tests e.g. benchmarks that are not executed under normal CTest conditions.
These tests should be enabled via special commandline parameters to the testing application.
Files
Updated by Uli Schlachter over 13 years ago
- File oftest_exhaustive_mode.patch oftest_exhaustive_mode.patch added
- % Done changed from 0 to 50
Does this patch implement what you had in mind?
This adds a new magic-macro OFTEST_FLAGS() which makes it possible to add flags to tests. The only flag currently implemented is EF_Slow.
Quoting from the patch (file toffile.cc):
OFTEST_FLAGS(ofstd_OFFile, EF_Slow) { /* Normal test here */ }
Normally, this test is ignored (even when you run tests via name-matching). To run it, the tests binary has to be started with -x or --exhaustive.
Comments?
Updated by Uli Schlachter over 13 years ago
- Status changed from New to Closed
- % Done changed from 50 to 100
Actions