Uploaded image for project: 'ROOT'
  1. ROOT
  2. ROOT-7769

At least some CTest tests insensitive to new warnings

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: 6.04/06, 6.15/02
    • Fix Version/s: None
    • Component/s: Testing
    • Labels:
    • Environment:

      Linux

      Description

      I had a warning that did not make CTest fail the test. I only saw it by accident, looking at the -V output of the test. It should absolutely have made the test fail.

      $ ctest -R roottest-cling-operator-equal-build -V
      UpdateCTestConfiguration  from :/home/axel/build/root/github/cmake/DartConfiguration.tcl
      Parse Config file:/home/axel/build/root/github/cmake/DartConfiguration.tcl
       Add coverage exclude regular expressions.
      UpdateCTestConfiguration  from :/home/axel/build/root/github/cmake/DartConfiguration.tcl
      Parse Config file:/home/axel/build/root/github/cmake/DartConfiguration.tcl
      Test project /home/axel/build/root/github/cmake
      Constructing a list of tests
      Ignore test: test-stressproof
      Ignore test: roottest-cling-parsing-semicolon
      Done constructing a list of tests
      Checking test dependency graph...
      Checking test dependency graph end
      test 397
          Start 397: roottest-cling-operator-equal-build
       
      397: Test command: /usr/bin/cmake "--build" "/home/axel/build/root/github/cmake" "--target" "roottest-cling-operator-equal-compile-macro/fast"
      397: Test timeout computed to be: 1500
      397: Warning in <TInterpreter::ReadRootmapFile>: class  TPgSQLResult found in libPgSQL.so  is already in libRPgSQL.so
      397: Warning in <TInterpreter::ReadRootmapFile>: class  TPgSQLRow found in libPgSQL.so  is already in libRPgSQL.so
      397: Warning in <TInterpreter::ReadRootmapFile>: class  TPgSQLServer found in libPgSQL.so  is already in libRPgSQL.so
      397: Warning in <TInterpreter::ReadRootmapFile>: class  TPgSQLStatement found in libPgSQL.so  is already in libRPgSQL.so
      397:
      397: Processing /home/axel/build/root/github/roottest/scripts/build.C("/home/axel/build/root/github/roottest/cling/operator/equal.C","","")...
      1/1 Test #397: roottest-cling-operator-equal-build ...   Passed    0.37 sec
       
      The following tests passed:
              roottest-cling-operator-equal-build
       
      100% tests passed, 0 tests failed out of 1
       
      Total Test time (real) =   1.15 sec

      This seems to be the case for a fair fraction of the tests, not just those where we traditionally ignore the output (tutorials, stress).

      Cheers, Axel.

        Attachments

          Activity

            People

            Assignee:
            axel Axel Naumann
            Reporter:
            axel Axel Naumann
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: