diff --git a/varats/varats/tools/driver_build_setup.py b/varats/varats/tools/driver_build_setup.py index 6023d9104..11ff6a64a 100644 --- a/varats/varats/tools/driver_build_setup.py +++ b/varats/varats/tools/driver_build_setup.py @@ -60,8 +60,8 @@ def print_up_to_date_message(research_tool: ResearchTool[VaRACodeBase]) -> None: ) if not research_tool.is_up_to_date(): print( - f"{colors.LightYellow}VaRA is outdated! Newest major release " - f"version is {colors.bold}{colors.LightBlue}" + f"{colors.LightYellow}{research_tool.name} is outdated! " + f"Newest major release version is {colors.bold}{colors.LightBlue}" f"{highest_release_version}{colors.bold.reset}{colors.fg.reset}\n" ) diff --git a/varats/varats/tools/research_tools/phasar.py b/varats/varats/tools/research_tools/phasar.py index 278dae85d..167b43a21 100644 --- a/varats/varats/tools/research_tools/phasar.py +++ b/varats/varats/tools/research_tools/phasar.py @@ -151,6 +151,10 @@ def setup( self.code_base.checkout_phasar_version(use_dev_branch) self.code_base.setup_submodules() + def is_up_to_date(self) -> bool: + """Returns true if Phasar's major release version is up to date.""" + return True + def upgrade(self) -> None: """Upgrade the research tool to a newer version.""" self.code_base.pull()