debugger: rename manual tests from 'gdbdebugger' to 'debugger'

Change-Id: I0f92b03fa99d81fd58d92eb8a0f3dfe3b1cbf7b4
Reviewed-on: http://codereview.qt.nokia.com/3402
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
hjk
2011-08-23 12:47:30 +02:00
committed by hjk
parent 3a2c348344
commit 051545a499
32 changed files with 14 additions and 15 deletions

View File

@@ -0,0 +1,4 @@
TEMPLATE = subdirs
SUBDIRS += simple_test_app.pro simple_test_plugin.pro

View File

@@ -36,7 +36,7 @@
void dummyStatement(...) {} void dummyStatement(...) {}
#include "../simple/deep/deep/simple_gdbtest_app.h" #include "../simple/deep/deep/simple_test_app.h"
#include <QtCore/QDebug> #include <QtCore/QDebug>
#include <QtCore/QDateTime> #include <QtCore/QDateTime>
@@ -1197,17 +1197,17 @@ void testPlugin()
{ {
QString dir = QDir::currentPath(); QString dir = QDir::currentPath();
#ifdef Q_OS_LINUX #ifdef Q_OS_LINUX
QLibrary lib(dir + "/libsimple_gdbtest_plugin.so"); QLibrary lib(dir + "/libsimple_test_plugin.so");
#endif #endif
#ifdef Q_OS_MAC #ifdef Q_OS_MAC
dir = QFileInfo(dir + "/../..").canonicalPath(); dir = QFileInfo(dir + "/../..").canonicalPath();
QLibrary lib(dir + "/libsimple_gdbtest_plugin.dylib"); QLibrary lib(dir + "/libsimple_test_plugin.dylib");
#endif #endif
#ifdef Q_OS_WIN #ifdef Q_OS_WIN
QLibrary lib(dir + "/debug/simple_gdbtest_plugin.dll"); QLibrary lib(dir + "/debug/simple_test_plugin.dll");
#endif #endif
#ifdef Q_OS_SYMBIAN #ifdef Q_OS_SYMBIAN
QLibrary lib(dir + "/libsimple_gdbtest_plugin.dll"); QLibrary lib(dir + "/libsimple_test_plugin.dll");
#endif #endif
int (*foo)() = (int(*)()) lib.resolve("pluginTest"); int (*foo)() = (int(*)()) lib.resolve("pluginTest");
qDebug() << "library resolve: " << foo << lib.fileName(); qDebug() << "library resolve: " << foo << lib.fileName();
@@ -3629,4 +3629,4 @@ int main(int argc, char *argv[])
return 0; return 0;
} }
#include "simple_gdbtest_app.moc" #include "simple_test_app.moc"

View File

@@ -1,10 +1,10 @@
TEMPLATE = app TEMPLATE = app
TARGET = simple_gdbtest_app TARGET = simple_test_app
DEPENDPATH += . DEPENDPATH += .
INCLUDEPATH += . INCLUDEPATH += .
DESTDIR = . DESTDIR = .
SOURCES += simple_gdbtest_app.cpp SOURCES += simple_test_app.cpp
QT += network QT += network
QT += script QT += script

View File

@@ -1,9 +1,8 @@
TEMPLATE = lib TEMPLATE = lib
TARGET = simple_gdbtest_plugin TARGET = simple_test_plugin
CONFIG += shared CONFIG += shared
SOURCES += \ SOURCES += simple_test_plugin.cpp
simple_gdbtest_plugin.cpp
macx { macx {
QMAKE_LFLAGS_SONAME = -Wl,-install_name,@executable_path/../PlugIns/$${PROVIDER}/ QMAKE_LFLAGS_SONAME = -Wl,-install_name,@executable_path/../PlugIns/$${PROVIDER}/

View File

@@ -1,4 +0,0 @@
TEMPLATE = subdirs
SUBDIRS += simple_gdbtest_app.pro simple_gdbtest_plugin.pro