+ end = datetime.datetime.now()
+ duration = (end - start).seconds
+ str = ("%02d:%02d" % divmod(duration, 60))
+ logger.info("Test execution time: %s" % str)
+
+ if result != 0:
+ logger.error("The test case '%s' failed. " % test_name)
+ OVERALL_RESULT = -1
+
+ if test.get_blocking():
+ logger.info("This test case is blocking. Exiting...")
+ sys.exit(OVERALL_RESULT)
+
+ return result
+