Skip to content

Commit

Permalink
[GenCI] Fix recursive check for macros contained in INI files (AliceO…
Browse files Browse the repository at this point in the history
…2Group#1670)

Co-authored-by: Benedikt Volkel <[email protected]>
  • Loading branch information
2 people authored and Florian Eisenhut committed Jul 1, 2024
1 parent 9674164 commit 8bd61bb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/run_generator_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,8 @@ add_ini_files_from_macros()
# given a list of macros, collect all INI files which contain at least one of them
local macro_files=$@
for mf in ${macro_files} ; do
# if any, strip the leading O2DPG_ROOT path to only grep for the relative trailing path
mf=${mf##${O2DPG_ROOT}/}
local other_ini_files=$(grep -r -l ${mf} | grep ".ini$")
# so this macro is not included in any of the INI file,
# maybe it is included by another macro which is then included in an INI file
Expand Down

0 comments on commit 8bd61bb

Please sign in to comment.