From c3354a417650284d309165df22e419634492978c Mon Sep 17 00:00:00 2001
From: Frank Winklmeier <frank.winklmeier@cern.ch>
Date: Tue, 20 Feb 2024 11:02:03 +0100
Subject: [PATCH] TriggerMenuMT: enable HI unit test and fix verify script

- enable HI menu test
- install python module required by the menu verification script so it
  can also be run without a local build area
---
 Trigger/TriggerCommon/TriggerMenuMT/CMakeLists.txt            | 3 ++-
 .../TriggerCommon/TriggerMenuMT/scripts/verify_menu_config.py | 4 ++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/Trigger/TriggerCommon/TriggerMenuMT/CMakeLists.txt b/Trigger/TriggerCommon/TriggerMenuMT/CMakeLists.txt
index f020323a8ba..f32e6b6f8dc 100644
--- a/Trigger/TriggerCommon/TriggerMenuMT/CMakeLists.txt
+++ b/Trigger/TriggerCommon/TriggerMenuMT/CMakeLists.txt
@@ -9,6 +9,7 @@ atlas_install_python_modules( python/*.py
                               python/HLT
                               python/TriggerAPI
                               python/CFtest
+                              scripts/menu_config_tests.py
                               POST_BUILD_CMD ${ATLAS_FLAKE8} --extend-select=ATL900,ATL901 )
 
 atlas_install_scripts( scripts/generateL1MenuRun3.py
@@ -93,7 +94,7 @@ atlas_test_lvl1_trigger_menu( Dev_HI_run3_v1 )
 # Test only most comprehensive HLT menus:
 atlas_test_hlt_trigger_menu( Dev_pp_run3_v1_BulkMCProd_prescale )
 atlas_test_hlt_trigger_menu( Cosmic_run3_v1 )
-# atlas_test_hlt_trigger_menu( Dev_HI_run3_v1 )
+atlas_test_hlt_trigger_menu( Dev_HI_run3_v1 )
 atlas_test_hlt_trigger_menu( PhysicsP1_pp_run3_v1_HLTReprocessing_prescale )
 atlas_test_hlt_trigger_menu( PhysicsP1_pp_lowMu_run3_v1 )
 
diff --git a/Trigger/TriggerCommon/TriggerMenuMT/scripts/verify_menu_config.py b/Trigger/TriggerCommon/TriggerMenuMT/scripts/verify_menu_config.py
index 8620227d887..cc9ffc93dc4 100755
--- a/Trigger/TriggerCommon/TriggerMenuMT/scripts/verify_menu_config.py
+++ b/Trigger/TriggerCommon/TriggerMenuMT/scripts/verify_menu_config.py
@@ -1,6 +1,6 @@
 #!/bin/env python
 
-# Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
+# Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
 
 '''
 Script for verifying menu configurations.
@@ -16,7 +16,7 @@ import argparse
 
 from collections import OrderedDict as odict
 from AthenaCommon.Logging import logging
-from menu_config_tests import TriggerLevel, menu_tests
+from TriggerMenuMT.menu_config_tests import TriggerLevel, menu_tests
 
 log = logging.getLogger("TriggerMenuConfigTest")
 
-- 
GitLab