Commit f2b55de2 authored by Jan Kiene's avatar Jan Kiene
Browse files

remove SVN related code from IvasBuildAndRunChecks.py

parent b3db699a
Loading
Loading
Loading
Loading
+3 −8
Original line number Diff line number Diff line
@@ -36,7 +36,6 @@ import sys
from pyivastest.IvasSvnBuilder import *
from pyivastest import IvasScriptsCommon
import pyivastest.constants as constants
from pyivastest import ivas_svn


RET_CODE_FAILURE = 101
@@ -172,14 +171,10 @@ class IvasBuildAndRunChecks(IvasScriptsCommon.IvasScript):
        for check in checks:
            br.run(check)
            if self.args["create_html_output"]:
                revision = ivas_svn.get_local_svn_info(self.args["srcdir"], self.logger)
                if revision is None:
                    print("Could not get revision from local copy")
                    revision = -1
                else:
                    revision = revision["commit_revision"]
                cmd = ["git", "rev-parse", "HEAD"]
                commit_hash = subprocess.run(cmd, capture_output=True).stdout.decode("utf8")
                br.build_and_run_dict[check]["analyzer"].write_html_file(
                    check, self.args["create_html_output"], revision
                    check, self.args["create_html_output"], commit_hash
                )
            for r in br.build_and_run_dict[check]["runner"].results:
                self.logger.console(r[0])