From feedf18222d3cc4f1af96e5ba3ab046c198fbb4b Mon Sep 17 00:00:00 2001 From: Malik Shahzad Muzaffar Date: Fri, 13 Dec 2024 11:01:41 +0100 Subject: [PATCH 1/5] [Do not merge]Testing draft PR --- Utilities/ReleaseScripts/test/test-clang-tidy.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/Utilities/ReleaseScripts/test/test-clang-tidy.sh b/Utilities/ReleaseScripts/test/test-clang-tidy.sh index cf406ea6e974b..078c257cc9e15 100755 --- a/Utilities/ReleaseScripts/test/test-clang-tidy.sh +++ b/Utilities/ReleaseScripts/test/test-clang-tidy.sh @@ -1,4 +1,5 @@ #!/bin/bash -ex +#this test should use scram build code-checks clang-tidy -export-fixes $CMSSW_BASE/test-clang-tidy.cc.yaml -header-filter "$CMSSW_BASE/src/.*" $CMSSW_BASE/src/Utilities/ReleaseScripts/test/test-clang-tidy.cc sed -i -e "s|$CMSSW_BASE/src/||" $CMSSW_BASE/test-clang-tidy.cc.yaml sed -i -e '/^\s\s*BuildDirectory/d;/^\s\s*Level:/d' $CMSSW_BASE/test-clang-tidy.cc.yaml From 71faa5663188163e02670e20e6995c1400b6f533 Mon Sep 17 00:00:00 2001 From: Malik Shahzad Muzaffar Date: Fri, 13 Dec 2024 11:17:48 +0100 Subject: [PATCH 2/5] dummy change to test draft PR --- DQMOffline/Configuration/test/BuildFile.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/DQMOffline/Configuration/test/BuildFile.xml b/DQMOffline/Configuration/test/BuildFile.xml index c9647b162fdf5..a2908548765c5 100644 --- a/DQMOffline/Configuration/test/BuildFile.xml +++ b/DQMOffline/Configuration/test/BuildFile.xml @@ -4,6 +4,8 @@ + + From 029ab76b2412202274081d94c6aa52988a7fb4f2 Mon Sep 17 00:00:00 2001 From: Malik Shahzad Muzaffar Date: Fri, 13 Dec 2024 17:11:50 +0100 Subject: [PATCH 3/5] Update test-clang-tidy.sh --- Utilities/ReleaseScripts/test/test-clang-tidy.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Utilities/ReleaseScripts/test/test-clang-tidy.sh b/Utilities/ReleaseScripts/test/test-clang-tidy.sh index 078c257cc9e15..c1f73f47bfe54 100755 --- a/Utilities/ReleaseScripts/test/test-clang-tidy.sh +++ b/Utilities/ReleaseScripts/test/test-clang-tidy.sh @@ -1,5 +1,7 @@ #!/bin/bash -ex #this test should use scram build code-checks + + clang-tidy -export-fixes $CMSSW_BASE/test-clang-tidy.cc.yaml -header-filter "$CMSSW_BASE/src/.*" $CMSSW_BASE/src/Utilities/ReleaseScripts/test/test-clang-tidy.cc sed -i -e "s|$CMSSW_BASE/src/||" $CMSSW_BASE/test-clang-tidy.cc.yaml sed -i -e '/^\s\s*BuildDirectory/d;/^\s\s*Level:/d' $CMSSW_BASE/test-clang-tidy.cc.yaml From a3d97dbcc0a7d65fc5285943d0863a40f1bef53d Mon Sep 17 00:00:00 2001 From: Malik Shahzad Muzaffar Date: Fri, 13 Dec 2024 17:15:01 +0100 Subject: [PATCH 4/5] Update BuildFile.xml --- DQMOffline/Configuration/test/BuildFile.xml | 2 -- 1 file changed, 2 deletions(-) diff --git a/DQMOffline/Configuration/test/BuildFile.xml b/DQMOffline/Configuration/test/BuildFile.xml index a2908548765c5..c9647b162fdf5 100644 --- a/DQMOffline/Configuration/test/BuildFile.xml +++ b/DQMOffline/Configuration/test/BuildFile.xml @@ -4,8 +4,6 @@ - - From db750b01df372d0ebae9283ad13e9a47234ded69 Mon Sep 17 00:00:00 2001 From: Malik Shahzad Muzaffar Date: Mon, 16 Dec 2024 15:35:32 +0100 Subject: [PATCH 5/5] Update test-clang-tidy.sh --- Utilities/ReleaseScripts/test/test-clang-tidy.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Utilities/ReleaseScripts/test/test-clang-tidy.sh b/Utilities/ReleaseScripts/test/test-clang-tidy.sh index c1f73f47bfe54..efc680106fb79 100755 --- a/Utilities/ReleaseScripts/test/test-clang-tidy.sh +++ b/Utilities/ReleaseScripts/test/test-clang-tidy.sh @@ -2,6 +2,8 @@ #this test should use scram build code-checks + + clang-tidy -export-fixes $CMSSW_BASE/test-clang-tidy.cc.yaml -header-filter "$CMSSW_BASE/src/.*" $CMSSW_BASE/src/Utilities/ReleaseScripts/test/test-clang-tidy.cc sed -i -e "s|$CMSSW_BASE/src/||" $CMSSW_BASE/test-clang-tidy.cc.yaml sed -i -e '/^\s\s*BuildDirectory/d;/^\s\s*Level:/d' $CMSSW_BASE/test-clang-tidy.cc.yaml