Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-1895

scons fails if a test has failed, even if it doesn't rerun tests

    Details

    • Type: Bug
    • Status: To Do
    • Priority: Major
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: sconsUtils
    • Labels:
      None
    • Templates:
    • Team:
      SQuaRE

      Description

      If scons decides it does not need to run unit tests it will still claim the build failed if there are any failed tests in tests/.tests.

      To see this try the following:

      • setup afw but not afwData
      • put a fake failed test in afw/tests/.tests (e.g. rename an existing passed test log by adding .failed to the end)
      • scons

      It will say that there is nothing to be done for .tests but proceed to tell you that the build failed because one test failed.

      I think this is important to fix because it is very confusing and could cost developers a lot of time trying to fix tests that are not broken. I certainly wasted some time on it today.

        Attachments

          Container Issues

            Issue Links

              Activity

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  rowen Russell Owen
                  Watchers:
                  Jim Bosch, Russell Owen, Tim Jenness
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:

                    Summary Panel