-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make EDAlias_t test to compile with C++20 #42027
Conversation
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-42027/35995
|
A new Pull Request was created by @makortel (Matti Kortelainen) for master. It involves the following packages:
@cmsbuild, @smuzaffar, @Dr15Jones, @makortel can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
@cmsbuild, please test |
-1 Failed Tests: Build BuildI found compilation error when building: >> Compiling /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_13_2_X_2023-06-20-1100/src/FWCore/Modules/test/test_catch2_PathStatusFilter.cc >> Compiling /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_13_2_X_2023-06-20-1100/src/FWCore/Modules/test/test_catch2_Prescaler.cc >> Compiling /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_13_2_X_2023-06-20-1100/src/FWCore/Modules/test/test_catch2_main.cc In file included from /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_13_2_X_2023-06-20-1100/src/FWCore/Modules/test/test_catch2_ModuloEventIDFilter.cc:4: /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_13_2_X_2023-06-20-1100/src/FWCore/Modules/test/test_catch2_ModuloEventIDFilter.cc: In function 'void ____C_A_T_C_H____T_E_S_T____4()': /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_13_2_X_2023-06-20-1100/src/FWCore/Modules/test/test_catch2_ModuloEventIDFilter.cc:65:52: error: no matching function for call to 'edm::test::TestProcessor::TestProcessor(const string&)' 65 | REQUIRE_THROWS_AS(edm::test::TestProcessor(config), cms::Exception); | ^ In file included from /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_13_2_X_2023-06-20-1100/src/FWCore/Modules/test/test_catch2_ModuloEventIDFilter.cc:1: /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_13_2_X_2023-06-20-1100/src/FWCore/TestProcessor/interface/TestProcessor.h:165:7: note: candidate: 'edm::test::TestProcessor::TestProcessor(const Config&, edm::ServiceToken)' 165 | TestProcessor(Config const& iConfig, ServiceToken iToken = ServiceToken()); |
7d032c6
to
9e3a1da
Compare
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-42027/35996
|
Pull request #42027 was updated. @cmsbuild, @smuzaffar, @Dr15Jones, @makortel can you please check and sign again. |
9e3a1da
to
584960e
Compare
In the end the change in |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-42027/35998
|
Pull request #42027 was updated. @cmsbuild, @smuzaffar, @Dr15Jones, @makortel can you please check and sign again. |
@cmsbuild, please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-dd4529/33278/summary.html Comparison SummarySummary:
|
+core |
This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @perrotta, @dpiparo, @rappoccio (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
PR description:
This PR makes the
EDAlias_t
test to compile with C++20.Simplest change that should with both C++17 and C++20 was to change the format "literals" toconstexpr string_view
, and makeTestProcessorConfig
constructor to acceptstring_view
argument.PR validation:
FWCore/TestProcessor
andFWCore/Integration
compile in CPP20 IB.