Skip to content

Commit 7e5a6a2

Browse files
committedNov 14, 2018
[server] remove ENABLE_MS_TESTS definition when tests are enabled
1 parent a139f8d commit 7e5a6a2

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed
 

‎src/server/CMakeLists.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,6 @@ IF (CMAKE_BUILD_TYPE MATCHES Debug OR CMAKE_BUILD_TYPE MATCHES RelWithDebInfo)
1010
ADD_DEFINITIONS(-DQGSMSDEBUG=1)
1111
ENDIF (CMAKE_BUILD_TYPE MATCHES Debug OR CMAKE_BUILD_TYPE MATCHES RelWithDebInfo)
1212

13-
IF (ENABLE_TESTS)
14-
ADD_DEFINITIONS(-DENABLE_MS_TESTS=1)
15-
ENDIF (ENABLE_TESTS)
16-
1713
ADD_SUBDIRECTORY(services)
1814

1915
########################################################

‎src/server/qgsserver.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,9 +239,7 @@ bool QgsServer::init()
239239
//create cache for capabilities XML
240240
sCapabilitiesCache = new QgsCapabilitiesCache();
241241

242-
#ifdef ENABLE_MS_TESTS
243242
QgsFontUtils::loadStandardTestFonts( QStringList() << QStringLiteral( "Roman" ) << QStringLiteral( "Bold" ) );
244-
#endif
245243

246244
sServiceRegistry = new QgsServiceRegistry();
247245

0 commit comments

Comments
 (0)
Please sign in to comment.