mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
integration tests: Improve message when ZNC is missing
Previously, "more or less unrelated" things would fail. After this change, also a message is printing that gives a hint on what went wrong. Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
@@ -141,6 +141,8 @@ class Process : public IO<QProcess> {
|
||||
m_proc.setProcessEnvironment(env);
|
||||
setup(&m_proc);
|
||||
m_proc.start(cmd, args);
|
||||
EXPECT_TRUE(m_proc.waitForStarted())
|
||||
<< "Failed to start ZNC, did you install it?";
|
||||
}
|
||||
~Process() override {
|
||||
if (m_kill) m_proc.terminate();
|
||||
|
||||
Reference in New Issue
Block a user