rename dbus server executable to avoid attempt to replace dir with the output

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2016-06-30 14:40:05 +00:00
parent 73efe686e4
commit 95814e1543
2 changed files with 4 additions and 4 deletions

View file

@ -7,10 +7,10 @@ if(WITH_DBUS AND DBUS_FOUND)
target_link_libraries(tst_qdbusperformance KtDBus)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
add_executable(server
add_executable(performance_server
${CMAKE_CURRENT_SOURCE_DIR}/server/server.cpp
${CMAKE_CURRENT_SOURCE_DIR}/serverobject.h
)
target_link_libraries(server KtDBus)
target_link_libraries(performance_server KtDBus)
endif()

View file

@ -89,9 +89,9 @@ void tst_QDBusPerformance::initTestCase()
&QTestEventLoop::instance(), SLOT(exitLoop()));
#ifdef Q_OS_WIN
proc.start("server");
proc.start("performance_server");
#else
proc.start("./server");
proc.start("./performance_server");
#endif
QVERIFY(proc.waitForStarted());