diff --git a/src/libs/vtest/abstracttest.cpp b/src/libs/vtest/abstracttest.cpp index fa92c9a83..a10ebdcd1 100644 --- a/src/libs/vtest/abstracttest.cpp +++ b/src/libs/vtest/abstracttest.cpp @@ -362,7 +362,7 @@ int AbstractTest::RunTimeout(int defMsecs) return defMsecs; } #else - QString timeout = qEnvironmentVariable("VTEST_RUN_TIMEOUT", QString::number(msecs)); + QString timeout = qEnvironmentVariable("VTEST_RUN_TIMEOUT", QString::number(defMsecs)); #endif bool ok = false;