From 04ad80b86efb6673c9a0b1e32a82393e1435207b Mon Sep 17 00:00:00 2001 From: Alexey Sokolov Date: Sun, 10 Jan 2016 09:24:12 +0000 Subject: [PATCH] Fix one more place in integration test where executable was run from source dir. --- test/Integration.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/Integration.cpp b/test/Integration.cpp index b7a37ba6..0f06d42d 100644 --- a/test/Integration.cpp +++ b/test/Integration.cpp @@ -259,10 +259,10 @@ class ZNCTest : public testing::Test { } std::unique_ptr Run() { - return std::unique_ptr( - new Process("./znc", QStringList() << "--debug" - << "--datadir" << m_dir.path(), - [](QProcess* proc) { + return std::unique_ptr(new Process( + ZNC_BIN_DIR "/znc", QStringList() << "--debug" + << "--datadir" << m_dir.path(), + [](QProcess* proc) { proc->setProcessChannelMode(QProcess::ForwardedChannels); })); }