forked from qt-creator/qt-creator
AutoTest: Unify handling of run modes
Move used enums more central to avoid duplicating information and unify their usages. Change-Id: I33e9bdc11f7da16ecabf03991b5a5f550a53bdad Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
This commit is contained in:
@@ -62,7 +62,7 @@ QStringList GTestConfiguration::argumentsForTestRunner() const
|
||||
if (gSettings->throwOnFailure)
|
||||
arguments << "--gtest_throw_on_failure";
|
||||
|
||||
if (runMode() == DebuggableTestConfiguration::Debug) {
|
||||
if (isDebugRunMode()) {
|
||||
if (gSettings->breakOnFailure)
|
||||
arguments << "--gtest_break_on_failure";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user