|
@@ -426,23 +426,26 @@ class Benchmarker:
|
|
|
############################################################
|
|
|
def __run_test(self, test):
|
|
|
|
|
|
- if test.os.lower() != self.os.lower() or test.database_os.lower() != self.database_os.lower():
|
|
|
- # the operating system requirements of this test for the
|
|
|
- # application server or the database server don't match
|
|
|
- # our current environment
|
|
|
- return
|
|
|
-
|
|
|
# If the user specified which tests to run, then
|
|
|
# we can skip over tests that are not in that list
|
|
|
if self.test != None and test.name not in self.test:
|
|
|
return
|
|
|
+
|
|
|
+ if test.os.lower() != self.os.lower() or test.database_os.lower() != self.database_os.lower():
|
|
|
+ # the operating system requirements of this test for the
|
|
|
+ # application server or the database server don't match
|
|
|
+ # our current environment
|
|
|
+ logging.info("OS or Database OS specified in benchmark_config does not match the current environment. Skipping.")
|
|
|
+ return
|
|
|
|
|
|
# If the test is in the excludes list, we skip it
|
|
|
if self.exclude != None and test.name in self.exclude:
|
|
|
+ logging.info("Test %s has been added to the excludes list. Skipping.", test.name)
|
|
|
return
|
|
|
|
|
|
# If the test does not contain an implementation of the current test-type, skip it
|
|
|
if self.type != 'all' and not test.contains_type(self.type):
|
|
|
+ logging.info("Test type %s does not contain an implementation of the current test-type. Skipping", self.type)
|
|
|
return
|
|
|
|
|
|
logging.debug("test.os.lower() = %s test.database_os.lower() = %s",test.os.lower(),test.database_os.lower())
|