forked from qt-creator/qt-creator
TaskTree: Rename StopWithDone -> StopWithSuccess
Make naming consistent with recent changes. "Done" is meant to be an event name when the task / group finishes. "Done" may finish with "Success" or an "Error". This addresses the 26th point in the task below. Task-number: QTCREATORBUG-28741 Change-Id: I53ed6905b1c385c398f49e122e8ca60aa3ad0806 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -355,11 +355,11 @@ void TestRunner::runTestsHelper()
|
||||
|
||||
const auto onSetup = [this, config] {
|
||||
if (!config->project())
|
||||
return SetupResult::StopWithDone;
|
||||
return SetupResult::StopWithSuccess;
|
||||
if (config->testExecutable().isEmpty()) {
|
||||
reportResult(ResultType::MessageFatal,
|
||||
Tr::tr("Executable path is empty. (%1)").arg(config->displayName()));
|
||||
return SetupResult::StopWithDone;
|
||||
return SetupResult::StopWithSuccess;
|
||||
}
|
||||
return SetupResult::Continue;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user