Commit 4c877c70 authored by Christian Stenger's avatar Christian Stenger Committed by hjk
Browse files

tests: Fix compile with Qt4



Change-Id: Ibad7e607ced1c6acdad829af82e1b874ddacb871
Reviewed-by: default avatarRobert Loehning <robert.loehning@digia.com>
Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
parent db8722fd
......@@ -36,6 +36,12 @@
#include <QtTest>
#include "temporarydir.h"
#if QT_VERSION >= 0x050000
#define MSKIP_SINGLE(x) QSKIP(x)
#else
#define MSKIP_SINGLE(x) QSKIP(x, SkipSingle)
#endif
using namespace Debugger;
using namespace Internal;
......@@ -437,9 +443,9 @@ void tst_Dumpers::dumper()
QFETCH(Data, data);
if (data.neededGdbVersion.min > m_gdbVersion)
QSKIP("Need minimum GDB version " + QByteArray::number(data.neededGdbVersion.min));
MSKIP_SINGLE("Need minimum GDB version " + QByteArray::number(data.neededGdbVersion.min));
if (data.neededGdbVersion.max < m_gdbVersion)
QSKIP("Need maximum GDB version " + QByteArray::number(data.neededGdbVersion.max));
MSKIP_SINGLE("Need maximum GDB version " + QByteArray::number(data.neededGdbVersion.max));
bool ok;
QString cmd;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment