Give final evaluation message also in non-interactive mode.

This commit is contained in:
NissimHadar 2018-08-20 14:26:37 -07:00
parent e15badad18
commit 96deeac126

View file

@ -244,7 +244,7 @@ void Test::startTestsEvaluation(const QString& testFolder, const QString& branch
void Test::finishTestsEvaluation(bool isRunningFromCommandline, bool interactiveMode, QProgressBar* progressBar) { void Test::finishTestsEvaluation(bool isRunningFromCommandline, bool interactiveMode, QProgressBar* progressBar) {
bool success = compareImageLists((!isRunningFromCommandline && interactiveMode), progressBar); bool success = compareImageLists((!isRunningFromCommandline && interactiveMode), progressBar);
if (interactiveMode && !isRunningFromCommandline) { if (!isRunningFromCommandline) {
if (success) { if (success) {
QMessageBox::information(0, "Success", "All images are as expected"); QMessageBox::information(0, "Success", "All images are as expected");
} else { } else {