From cfa15b62ae13f2b56e99304637749294482c7368 Mon Sep 17 00:00:00 2001 From: Konrad Kleine Date: Thu, 17 Oct 2024 15:17:24 +0000 Subject: [PATCH] [pre-commit]: pre-commit-hooks 5.0.0, tmt 1.38.0 After the update I ran: `pre-commit run -a` --- .pre-commit-config.yaml | 4 ++-- Makefile | 2 +- llvm.spec | 14 +++++++------- rpminspect.yaml | 1 - 4 files changed, 10 insertions(+), 11 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 61ca349..ae14bc7 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,7 +2,7 @@ # See https://pre-commit.com/hooks.html for more hooks repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.5.0 + rev: v5.0.0 hooks: - id: check-ast - id: check-case-conflict @@ -23,7 +23,7 @@ repos: # See https://tmt.readthedocs.io/en/latest/guide.html#checking-data-validity - repo: https://github.com/teemtee/tmt.git - rev: 1.32.2 + rev: 1.38.0 hooks: - id: tmt-lint diff --git a/Makefile b/Makefile index bedd7b4..e7ff9a0 100644 --- a/Makefile +++ b/Makefile @@ -152,4 +152,4 @@ release-prep: releae-setup # -h install \ # -c fedora-llvm-team/llvm-snapshots-big-merge-20240124 \ # test \ -# report +# report diff --git a/llvm.spec b/llvm.spec index 1944949..590695b 100644 --- a/llvm.spec +++ b/llvm.spec @@ -1373,7 +1373,7 @@ function reset_test_opts() # Set to mark tests as expected to fail. # See https://llvm.org/docs/CommandGuide/lit.html#cmdoption-lit-xfail unset LIT_XFAIL - + # Set to mark tests to not even run. # 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. @@ -1385,7 +1385,7 @@ function reset_test_opts() unset LIT_FILTER_OUT # 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 } @@ -1402,7 +1402,7 @@ function reset_test_opts() # Then $LIT_FILTER_OUT should evaluate to: (foo|bar) function test_list_to_regex() { - local -n arr=$1 + local -n arr=$1 # Prepare LIT_FILTER_OUT regex from index bash array # Join each element with a pipe symbol (regex for "or") arr=$(printf "|%s" "${arr[@]}") @@ -1425,7 +1425,7 @@ reset_test_opts reset_test_opts # Xfail testing of update utility tools export LIT_XFAIL="tools/UpdateTestChecks" -%cmake_build --target check-llvm +%cmake_build --target check-llvm #endregion Test LLVM #region Test CLANG @@ -1610,12 +1610,12 @@ export LIT_FILTER_OUT=$(test_list_to_regex test_list_filter_out) ## reset_test_opts ## %%cmake_build --target check-lldb-unit ## #endregion LLDB unit tests -## +## ## #region LLDB SB API tests ## reset_test_opts ## %%cmake_build --target check-lldb-api ## #endregion LLDB SB API tests -## +## ## #region LLDB shell tests ## reset_test_opts ## %%cmake_build --target check-lldb-shell @@ -2384,7 +2384,7 @@ fi * Thu Jul 18 2024 Fedora Release Engineering - 18.1.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild - + * Thu Jul 11 2024 Jesus Checa Hidalgo - 18.1.8-1 - Update to LLVM 18.1.8 diff --git a/rpminspect.yaml b/rpminspect.yaml index 2f600c2..41a17d6 100644 --- a/rpminspect.yaml +++ b/rpminspect.yaml @@ -17,4 +17,3 @@ badfuncs: - gethostbyname - gethostbyname2 - inet_aton -