Fix lit filtering

I forgot to add the 'g' modifier to sed. Before only the first occurence
of a '.' was replaced in a path and not every dot.
This commit is contained in:
Konrad Kleine 2024-07-02 09:40:45 +00:00 committed by Timm Bäder
parent 5d65390bed
commit abc6958daf

View file

@ -195,11 +195,10 @@ filter_out_tests=$(printf "|%s" "${filter_out_tests[@]}")
# Remove the initial pipe symbol
filter_out_tests=${filter_out_tests:1}
# Properly escape path dots (".") for use in regular expression
filter_out_tests=$(echo $filter_out_tests | sed 's/\./\\./')
filter_out_tests=$(echo $filter_out_tests | sed 's/\./\\./g')
# Add enclosing parenthesis
export LIT_FILTER_OUT="($filter_out_tests)"
export LIT_OPTS="-vv"
export LD_LIBRARY_PATH="%{buildroot}/%{install_libdir}:%{buildroot}/%{_libdir}";