diff --git a/.github/workflows/root-ci-config/buildconfig/debiantesting.txt b/.github/workflows/root-ci-config/buildconfig/debiantesting.txt new file mode 100644 index 0000000000000..896845d08f734 --- /dev/null +++ b/.github/workflows/root-ci-config/buildconfig/debiantesting.txt @@ -0,0 +1,4 @@ +CMAKE_CXX_STANDARD=23 +builtin_llvm=OFF +builtin_mathtext=OFF +test_distrdf_pyspark=OFF diff --git a/.github/workflows/root-ci.yml b/.github/workflows/root-ci.yml index 0af636192a117..e192c6b5eae9e 100644 --- a/.github/workflows/root-ci.yml +++ b/.github/workflows/root-ci.yml @@ -414,6 +414,7 @@ jobs: - image: ubuntu2610 - image: debian13 overrides: ["dev=ON", "CMAKE_CXX_FLAGS=-Wsuggest-override"] + - image: debiantesting # Special builds - image: alma9 platform_config: alma9-modules_off diff --git a/roottest/root/meta/genreflex/TClass/TClassUtils.h b/roottest/root/meta/genreflex/TClass/TClassUtils.h index a0571313a8912..1d05f802cc2a0 100644 --- a/roottest/root/meta/genreflex/TClass/TClassUtils.h +++ b/roottest/root/meta/genreflex/TClass/TClassUtils.h @@ -51,10 +51,11 @@ void printMemberNames(const std::string& className, const std::string indent="", std::cout << std::endl; if (mbProp.count(dmName)!=0){ TDictAttributeMap* attrMap = dm->GetAttributeMap(); - for (propertiesNames::iterator prop=mbProp[dmName].begin(); - prop!=mbProp[dmName].end();prop++){ - const char* propVals = attrMap->GetPropertyAsString(prop->c_str()); - std::cout << " - " << *prop << ": " << propVals << std::endl; + propertiesNames &props = mbProp[dmName]; + for (size_t i = 0; i < props.size(); ++i) { + const std::string &prop = props[i]; + const char* propVals = attrMap->GetPropertyAsString(prop.c_str()); + std::cout << " - " << prop << ": " << propVals << std::endl; } } } diff --git a/roottest/root/tree/selectorreader/runClasses.C b/roottest/root/tree/selectorreader/runClasses.C index 912dc429736fc..741c1e58e4b7f 100644 --- a/roottest/root/tree/selectorreader/runClasses.C +++ b/roottest/root/tree/selectorreader/runClasses.C @@ -124,8 +124,8 @@ void runClasses(const std::string &srcdir = ".") { "TreeEventTreeSimple2", "TreeDuplicateName" }; - for (std::string const &treeName : trees) - { + for (size_t i = 0; i < trees.size(); ++i) { + std::string const &treeName = trees[i]; fprintf(stderr, "Testing tree %s\n", treeName.c_str()); TFile f((srcdir + "/trees/" + treeName + ".root").c_str()); // Load file diff --git a/roottest/root/tree/selectorreader/runCollections.C b/roottest/root/tree/selectorreader/runCollections.C index bbe96c09a727c..21956ecc60600 100644 --- a/roottest/root/tree/selectorreader/runCollections.C +++ b/roottest/root/tree/selectorreader/runCollections.C @@ -166,8 +166,8 @@ void runCollections(const std::string &srcdir = ".") //"TreeTClonesArray0", // Known failure "TreeTClonesArray2" }; - for (std::string const &treeName : trees) - { + for (size_t i = 0; i < trees.size(); ++i) { + std::string const &treeName = trees[i]; fprintf(stderr, "Testing tree %s\n", treeName.c_str()); TFile f((srcdir + "/trees/" + treeName + ".root").c_str()); // Load file