Commit 051545a4 authored by hjk's avatar hjk Committed by hjk

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

Change-Id: I0f92b03fa99d81fd58d92eb8a0f3dfe3b1cbf7b4
Reviewed-on: http://codereview.qt.nokia.com/3402Reviewed-by: default avatarhjk <qthjk@ovi.com>
parent 3a2c3483
TEMPLATE = subdirs
SUBDIRS += simple_test_app.pro simple_test_plugin.pro
......@@ -36,7 +36,7 @@
void dummyStatement(...) {}
#include "../simple/deep/deep/simple_gdbtest_app.h"
#include "../simple/deep/deep/simple_test_app.h"
#include <QtCore/QDebug>
#include <QtCore/QDateTime>
......@@ -1197,17 +1197,17 @@ void testPlugin()
{
QString dir = QDir::currentPath();
#ifdef Q_OS_LINUX
QLibrary lib(dir + "/libsimple_gdbtest_plugin.so");
QLibrary lib(dir + "/libsimple_test_plugin.so");
#endif
#ifdef Q_OS_MAC
dir = QFileInfo(dir + "/../..").canonicalPath();
QLibrary lib(dir + "/libsimple_gdbtest_plugin.dylib");
QLibrary lib(dir + "/libsimple_test_plugin.dylib");
#endif
#ifdef Q_OS_WIN
QLibrary lib(dir + "/debug/simple_gdbtest_plugin.dll");
QLibrary lib(dir + "/debug/simple_test_plugin.dll");
#endif
#ifdef Q_OS_SYMBIAN
QLibrary lib(dir + "/libsimple_gdbtest_plugin.dll");
QLibrary lib(dir + "/libsimple_test_plugin.dll");
#endif
int (*foo)() = (int(*)()) lib.resolve("pluginTest");
qDebug() << "library resolve: " << foo << lib.fileName();
......@@ -3629,4 +3629,4 @@ int main(int argc, char *argv[])
return 0;
}
#include "simple_gdbtest_app.moc"
#include "simple_test_app.moc"
TEMPLATE = app
TARGET = simple_gdbtest_app
TARGET = simple_test_app
DEPENDPATH += .
INCLUDEPATH += .
DESTDIR = .
SOURCES += simple_gdbtest_app.cpp
SOURCES += simple_test_app.cpp
QT += network
QT += script
......
TEMPLATE = lib
TARGET = simple_gdbtest_plugin
TARGET = simple_test_plugin
CONFIG += shared
SOURCES += \
simple_gdbtest_plugin.cpp
SOURCES += simple_test_plugin.cpp
macx {
QMAKE_LFLAGS_SONAME = -Wl,-install_name,@executable_path/../PlugIns/$${PROVIDER}/
......
TEMPLATE = subdirs
SUBDIRS += simple_gdbtest_app.pro simple_gdbtest_plugin.pro
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