forked from qt-creator/qt-creator
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:
4
tests/manual/debugger/simple/simple.pro
Normal file
4
tests/manual/debugger/simple/simple.pro
Normal file
@@ -0,0 +1,4 @@
|
||||
|
||||
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"
|
@@ -1,10 +1,10 @@
|
||||
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
|
@@ -1,9 +1,8 @@
|
||||
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}/
|
@@ -1,4 +0,0 @@
|
||||
|
||||
TEMPLATE = subdirs
|
||||
|
||||
SUBDIRS += simple_gdbtest_app.pro simple_gdbtest_plugin.pro
|
Reference in New Issue
Block a user