From 7dbffd00759a4fca8ac40288d7fa554628741835 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jacob=20St=C3=B8ren?= Date: Mon, 5 Feb 2018 16:09:44 +0100 Subject: [PATCH] Add error to messages window if a requested regression test is not found. --- ApplicationCode/Application/RiaApplication.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ApplicationCode/Application/RiaApplication.cpp b/ApplicationCode/Application/RiaApplication.cpp index f0650b85fb..e24da9fa98 100644 --- a/ApplicationCode/Application/RiaApplication.cpp +++ b/ApplicationCode/Application/RiaApplication.cpp @@ -2155,6 +2155,10 @@ void RiaApplication::runRegressionTest(const QString& testRootPath, QStringList* logInfoTextWithTimeInSeconds(timeStamp, "Completed test :" + testCaseFolder.absolutePath()); } + else + { + RiaLogging::error("Could not find a regression test file named : " + testCaseFolder.absolutePath() + "/" + regTestProjectName + ".rsp"); + } } RiaLogging::info("\n");