mirror of
https://src.fedoraproject.org/rpms/llvm.git
synced 2024-11-28 18:36:50 +00:00
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:
parent
d8e9deb6da
commit
0b4a620d6d
1 changed files with 1 additions and 2 deletions
|
@ -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}";
|
||||
|
|
Loading…
Reference in a new issue