aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools
diff options
context:
space:
mode:
Diffstat (limited to 'resources/tools')
-rw-r--r--resources/tools/presentation/generator_alerts.py9
-rw-r--r--resources/tools/presentation/input_data_parser.py2
2 files changed, 6 insertions, 5 deletions
diff --git a/resources/tools/presentation/generator_alerts.py b/resources/tools/presentation/generator_alerts.py
index 77302b6168..cbdb1fd07b 100644
--- a/resources/tools/presentation/generator_alerts.py
+++ b/resources/tools/presentation/generator_alerts.py
@@ -268,10 +268,11 @@ class Alerting(object):
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"]))
diff --git a/resources/tools/presentation/input_data_parser.py b/resources/tools/presentation/input_data_parser.py
index a35a454aa2..89e11bbe95 100644
--- a/resources/tools/presentation/input_data_parser.py
+++ b/resources/tools/presentation/input_data_parser.py
@@ -698,7 +698,7 @@ class ExecutionChecker(ResultVisitor):
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