[Scummvm-cvs-logs] scummvm master -> b9fc8cf746eb1ddadc3db4fd4630364826dab7d5

sev- sev at scummvm.org
Sat Nov 28 00:30:01 CET 2015


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
b9fc8cf746 TESTBED: Sanity check


Commit: b9fc8cf746eb1ddadc3db4fd4630364826dab7d5
    https://github.com/scummvm/scummvm/commit/b9fc8cf746eb1ddadc3db4fd4630364826dab7d5
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2015-11-28T00:21:09+01:00

Commit Message:
TESTBED: Sanity check

Changed paths:
    engines/testbed/testbed.cpp



diff --git a/engines/testbed/testbed.cpp b/engines/testbed/testbed.cpp
index 635fd09..885429c 100644
--- a/engines/testbed/testbed.cpp
+++ b/engines/testbed/testbed.cpp
@@ -152,6 +152,9 @@ void TestbedEngine::invokeTestsuites(TestbedConfigManager &cfMan) {
 	Common::Point pt = Testsuite::getDisplayRegionCoordinates();
 	int numSuitesEnabled = cfMan.getNumSuitesEnabled();
 
+	if (!numSuitesEnabled)
+		return;
+
 	for (iter = _testsuiteList.begin(); iter != _testsuiteList.end(); iter++) {
 		if (shouldQuit()) {
 			return;






More information about the Scummvm-git-logs mailing list