mirror of
https://src.fedoraproject.org/rpms/llvm.git
synced 2024-11-24 09:32:42 +00:00
[pre-commit]: pre-commit-hooks 5.0.0, tmt 1.38.0
After the update I ran: `pre-commit run -a`
This commit is contained in:
parent
1be1f5ebdc
commit
260d8e1cdc
4 changed files with 10 additions and 11 deletions
|
@ -2,7 +2,7 @@
|
||||||
# See https://pre-commit.com/hooks.html for more hooks
|
# See https://pre-commit.com/hooks.html for more hooks
|
||||||
repos:
|
repos:
|
||||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
rev: v4.5.0
|
rev: v5.0.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: check-ast
|
- id: check-ast
|
||||||
- id: check-case-conflict
|
- id: check-case-conflict
|
||||||
|
@ -23,7 +23,7 @@ repos:
|
||||||
|
|
||||||
# See https://tmt.readthedocs.io/en/latest/guide.html#checking-data-validity
|
# See https://tmt.readthedocs.io/en/latest/guide.html#checking-data-validity
|
||||||
- repo: https://github.com/teemtee/tmt.git
|
- repo: https://github.com/teemtee/tmt.git
|
||||||
rev: 1.32.2
|
rev: 1.38.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: tmt-lint
|
- id: tmt-lint
|
||||||
|
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -152,4 +152,4 @@ release-prep: releae-setup
|
||||||
# -h install \
|
# -h install \
|
||||||
# -c fedora-llvm-team/llvm-snapshots-big-merge-20240124 \
|
# -c fedora-llvm-team/llvm-snapshots-big-merge-20240124 \
|
||||||
# test \
|
# test \
|
||||||
# report
|
# report
|
||||||
|
|
14
llvm.spec
14
llvm.spec
|
@ -1373,7 +1373,7 @@ function reset_test_opts()
|
||||||
# Set to mark tests as expected to fail.
|
# Set to mark tests as expected to fail.
|
||||||
# See https://llvm.org/docs/CommandGuide/lit.html#cmdoption-lit-xfail
|
# See https://llvm.org/docs/CommandGuide/lit.html#cmdoption-lit-xfail
|
||||||
unset LIT_XFAIL
|
unset LIT_XFAIL
|
||||||
|
|
||||||
# Set to mark tests to not even run.
|
# Set to mark tests to not even run.
|
||||||
# See https://llvm.org/docs/CommandGuide/lit.html#cmdoption-lit-filter-out
|
# See https://llvm.org/docs/CommandGuide/lit.html#cmdoption-lit-filter-out
|
||||||
# Unfortunately LIT_FILTER_OUT is not accepting a list but a regular expression.
|
# Unfortunately LIT_FILTER_OUT is not accepting a list but a regular expression.
|
||||||
|
@ -1385,7 +1385,7 @@ function reset_test_opts()
|
||||||
unset LIT_FILTER_OUT
|
unset LIT_FILTER_OUT
|
||||||
|
|
||||||
# Set for filtering out unit tests.
|
# Set for filtering out unit tests.
|
||||||
# See http://google.github.io/googletest/advanced.html#running-a-subset-of-the-tests
|
# See http://google.github.io/googletest/advanced.html#running-a-subset-of-the-tests
|
||||||
unset GTEST_FILTER
|
unset GTEST_FILTER
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1402,7 +1402,7 @@ function reset_test_opts()
|
||||||
# Then $LIT_FILTER_OUT should evaluate to: (foo|bar)
|
# Then $LIT_FILTER_OUT should evaluate to: (foo|bar)
|
||||||
function test_list_to_regex()
|
function test_list_to_regex()
|
||||||
{
|
{
|
||||||
local -n arr=$1
|
local -n arr=$1
|
||||||
# Prepare LIT_FILTER_OUT regex from index bash array
|
# Prepare LIT_FILTER_OUT regex from index bash array
|
||||||
# Join each element with a pipe symbol (regex for "or")
|
# Join each element with a pipe symbol (regex for "or")
|
||||||
arr=$(printf "|%s" "${arr[@]}")
|
arr=$(printf "|%s" "${arr[@]}")
|
||||||
|
@ -1425,7 +1425,7 @@ reset_test_opts
|
||||||
reset_test_opts
|
reset_test_opts
|
||||||
# Xfail testing of update utility tools
|
# Xfail testing of update utility tools
|
||||||
export LIT_XFAIL="tools/UpdateTestChecks"
|
export LIT_XFAIL="tools/UpdateTestChecks"
|
||||||
%cmake_build --target check-llvm
|
%cmake_build --target check-llvm
|
||||||
#endregion Test LLVM
|
#endregion Test LLVM
|
||||||
|
|
||||||
#region Test CLANG
|
#region Test CLANG
|
||||||
|
@ -1610,12 +1610,12 @@ export LIT_FILTER_OUT=$(test_list_to_regex test_list_filter_out)
|
||||||
## reset_test_opts
|
## reset_test_opts
|
||||||
## %%cmake_build --target check-lldb-unit
|
## %%cmake_build --target check-lldb-unit
|
||||||
## #endregion LLDB unit tests
|
## #endregion LLDB unit tests
|
||||||
##
|
##
|
||||||
## #region LLDB SB API tests
|
## #region LLDB SB API tests
|
||||||
## reset_test_opts
|
## reset_test_opts
|
||||||
## %%cmake_build --target check-lldb-api
|
## %%cmake_build --target check-lldb-api
|
||||||
## #endregion LLDB SB API tests
|
## #endregion LLDB SB API tests
|
||||||
##
|
##
|
||||||
## #region LLDB shell tests
|
## #region LLDB shell tests
|
||||||
## reset_test_opts
|
## reset_test_opts
|
||||||
## %%cmake_build --target check-lldb-shell
|
## %%cmake_build --target check-lldb-shell
|
||||||
|
@ -2384,7 +2384,7 @@ fi
|
||||||
|
|
||||||
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 18.1.8-2
|
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 18.1.8-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||||
|
|
||||||
* Thu Jul 11 2024 Jesus Checa Hidalgo <jchecahi@redhat.com> - 18.1.8-1
|
* Thu Jul 11 2024 Jesus Checa Hidalgo <jchecahi@redhat.com> - 18.1.8-1
|
||||||
- Update to LLVM 18.1.8
|
- Update to LLVM 18.1.8
|
||||||
|
|
||||||
|
|
|
@ -17,4 +17,3 @@ badfuncs:
|
||||||
- gethostbyname
|
- gethostbyname
|
||||||
- gethostbyname2
|
- gethostbyname2
|
||||||
- inet_aton
|
- inet_aton
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue