Project

General

Profile

Actions

Feature #424

closed

OFTest: exhaustive testing via special parameters

Added by Jan Schlamelcher over 13 years ago. Updated over 13 years ago.

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

oftest_exhaustive_mode.patch (11.3 KB) oftest_exhaustive_mode.patch Patch implementing exhaustive mode Uli Schlachter, 2012-05-21 09:38
Actions #1

Updated by Uli Schlachter over 13 years ago

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?

Actions #2

Updated by Uli Schlachter over 13 years ago

  • Status changed from New to Closed
  • % Done changed from 50 to 100
Actions

Also available in: Atom PDF