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
parent d8e9deb6da
commit 0b4a620d6d

View file

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