Revert "BUILD: Fix test compilation with event recorder enabled"

This reverts commit 1f8667c5d949070035390531e4f10c0f945d7352.
This commit is contained in:
Bastien Bouclet 2016-07-28 18:23:50 +02:00
parent ad3ab61241
commit 8d34d5190d
3 changed files with 0 additions and 9 deletions

View File

@ -30,8 +30,6 @@
#include "graphics/surface.h"
#include "graphics/scaler.h"
#ifdef ENABLE_EVENTRECORDER
#define RECORD_VERSION 1
namespace Common {
@ -716,5 +714,3 @@ void PlaybackFile::checkRecordedMD5() {
}
#endif // ENABLE_EVENTRECORDER

View File

@ -215,10 +215,6 @@
#include "config.h"
#endif
// Now we need to adjust some settings when running tests
#ifdef COMPILING_TESTS
#undef ENABLE_EVENTRECORDER
#endif
// In the following we configure various targets, in particular those
// which can't use our "configure" tool and hence don't use config.h.

View File

@ -26,7 +26,6 @@ endif
#TEST_LDFLAGS += -L/usr/X11R6/lib -lX11
test: CXXFLAGS += -DCOMPILING_TESTS=1
test: test/runner
./test/runner
test/runner: test/runner.cpp $(TEST_LIBS)