Last change
on this file since 0de871 was 0de871, checked in by Frederik Heber <heber@…>, 15 years ago |
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@…>
|
-
Property mode
set to
100644
|
File size:
424 bytes
|
Line | |
---|
1 | /*
|
---|
2 | * TestRunnerMain.cpp
|
---|
3 | *
|
---|
4 | * Created on: Feb 25, 2010
|
---|
5 | * Author: heber
|
---|
6 | */
|
---|
7 |
|
---|
8 | // include config.h
|
---|
9 | #ifdef HAVE_CONFIG_H
|
---|
10 | #include <config.h>
|
---|
11 | #endif
|
---|
12 |
|
---|
13 | #ifdef HAVE_ECUT
|
---|
14 | // give the main function its correct name
|
---|
15 | #define CPPUNIT_MAIN main
|
---|
16 | // include the TestRunnerClient file containing the main class
|
---|
17 | #include "../../../TestRunnerClient.h"
|
---|
18 | #include "../../../TestRunnerClient.cpp"
|
---|
19 | #else
|
---|
20 | #include "UnitTestMain.cpp"
|
---|
21 | #endif
|
---|
22 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.