Change-Id: I0840883d52180d09f7de2bd9b0391a0db24105f5
Signed-off-by: Tibor Frank <tifrank@cisco.com>
if zip_file:
logging.info("Writing the file '{0}/{1}' ...".
format(config["output-dir"], zip_file))
if zip_file:
logging.info("Writing the file '{0}/{1}' ...".
format(config["output-dir"], zip_file))
- execute_command("tar czvf {dir}/{zip} {dir}/{input}.*".format(
- dir=config["output-dir"],
- zip=zip_file,
- input=config["output-file"]))
+ execute_command("tar czvf {dir}/{zip} --directory={dir} "
+ "{input}.txt {input}.html".
+ format(dir=config["output-dir"],
+ zip=zip_file,
+ input=config["output-file"]))
else:
raise AlertingError("Alert of type '{0}' is not implemented.".
format(alert["type"]))
else:
raise AlertingError("Alert of type '{0}' is not implemented.".
format(alert["type"]))
self._data["tests"][self._test_ID] = test_result
logging.error("The test '{0}' has no or more than one "
"multi-threading tags.".format(self._test_ID))
self._data["tests"][self._test_ID] = test_result
logging.error("The test '{0}' has no or more than one "
"multi-threading tags.".format(self._test_ID))
- logging.error("Tags: {0}".format(test_result["tags"]))
+ logging.debug("Tags: {0}".format(test_result["tags"]))
return
if test.status == "PASS" and ("NDRPDRDISC" in tags or
return
if test.status == "PASS" and ("NDRPDRDISC" in tags or