Remove messages of already running CTests for UnitTests

Authored by croick on Jul 10 2017, 8:28 PM.

Description

Remove messages of already running CTests for UnitTests

Summary:

  • starting unit tests for a project or simply "Run All Tests" could start showing up messages of already running instances of CTest
  • after killing or not killing those, KDevelop could finally crash

BUG: 377639

Fixes:

  • use job name in NativeAppJob depending on executable to be able to distinguish between different tests
  • after the message box, re-read the list of running jobs
  • actual bugfix: only emit the result once for failing tests

Test Plan:

  • run kdevelop/kdevelop unit tests at once
  • see what happens after tests are failing

Reviewers: KDevelop, apol

Reviewed By: KDevelop, apol

Subscribers: apol, kfunk, kdevelop-devel

Differential Revision: https://phabricator.kde.org/D6593

Details

Committed
croickJul 11 2017, 7:16 PM
Reviewer
KDevelop
Differential Revision
D6593: Remove messages of already running CTests for UnitTests
Parents
R33:5e713d830265: OpenProjectPage: Fix deprecation warning
Branches
Unknown
Tags
Unknown