forked from qt-creator/qt-creator
TaskTree: Rename TaskAction into SetupResult
It's only used as a return value from group's or task's setup handler. It instructs the running task tree on how to proceed further. It addresses the 21th point in the bugreport below. Task-number: QTCREATORBUG-28741 Change-Id: I25802c76b9e7bc044c6a38197935798d2da9ad02 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -355,13 +355,13 @@ void TestRunner::runTestsHelper()
|
||||
|
||||
const auto onSetup = [this, config] {
|
||||
if (!config->project())
|
||||
return TaskAction::StopWithDone;
|
||||
return SetupResult::StopWithDone;
|
||||
if (config->testExecutable().isEmpty()) {
|
||||
reportResult(ResultType::MessageFatal,
|
||||
Tr::tr("Executable path is empty. (%1)").arg(config->displayName()));
|
||||
return TaskAction::StopWithDone;
|
||||
return SetupResult::StopWithDone;
|
||||
}
|
||||
return TaskAction::Continue;
|
||||
return SetupResult::Continue;
|
||||
};
|
||||
const auto onProcessSetup = [this, config, storage](Process &process) {
|
||||
TestStorage *testStorage = storage.activeStorage();
|
||||
|
||||
Reference in New Issue
Block a user