diff --git a/redo/rules/build_analyze.py b/redo/rules/build_analyze.py index b8fff27d..4f4cd2c7 100755 --- a/redo/rules/build_analyze.py +++ b/redo/rules/build_analyze.py @@ -10,7 +10,6 @@ from util import filesystem from util import redo from util import shell -from models import analyze import re @@ -139,10 +138,6 @@ def _analyze_ada_sources(source_files, base_dir, build_target, binary_mode=False # Get info for forming gnatsas command: gpr_project_file = build_target_instance.gpr_project_file().strip() - target_path_files = build_target_instance.path_files() - run_file = build_dir + os.sep + "run.log" - output_file = build_dir + os.sep + "analysis.txt" - direct = " >&2" # Info print: redo.info_print( @@ -224,7 +219,7 @@ def modify_contents(gpr_contents): # html_cmd = "gnatsas report html -P" + gnatsas_gpr_file # ret = shell.try_run_command(html_cmd) - # Make securty report + # Make security report security_out_file = os.path.join(output_dir, "security.txt") security_cmd = "gnatsas report security -P" + gnatsas_gpr_file + " --out " + security_out_file ret = shell.try_run_command(security_cmd)