Ignore:
Timestamp:
May 14, 2010, 7:53:36 PM (16 years ago)
Author:
Frederik Heber <heber@…>
Children:
acf2f4, dbec4e
Parents:
44becc
Message:

FIX: TestRunner is broken when TestRunnerClient.[h|cpp] can not be found.

  • config.h is included (has define HAVE_ECUT)
  • UnitTestMain.cpp is included if HAVE_ECUT is not set

Signed-off-by: Frederik Heber <heber@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/unittests/TestRunnerMain.cpp

    r44becc r0de871  
    66 */
    77
     8// include config.h
     9#ifdef HAVE_CONFIG_H
     10#include <config.h>
     11#endif
     12
     13#ifdef HAVE_ECUT
    814// give the main function its correct name
    915#define CPPUNIT_MAIN main
    10 
    1116// include the TestRunnerClient file containing the main class
    1217#include "../../../TestRunnerClient.h"
    1318#include "../../../TestRunnerClient.cpp"
     19#else
     20#include "UnitTestMain.cpp"
     21#endif
     22
Note: See TracChangeset for help on using the changeset viewer.