Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-5998

smoke.py should consult build/unittests.txt to figure out what tests to run.

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 2.1.2
    • Fix Version/s: None
    • Component/s: Testing Infrastructure
    • Labels:
      None

      Description

      See SERVER-5702 and https://github.com/mongodb/mongo/commit/82544c7d08c033184104a5c9ab115e4047fdbdbd

      In short, the build system knows how to build a file, build/unittests.txt, and does build it as part of the "all" rule. The file contains a list of unit test programs that should be run, with no arguments, and whose exit code is 0 to indicate test passage, and non-zero to indicate failure.

      I'd recommend implementing a "unittests" rule to smoke – "smoke unittests" would run the programs indicated.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dcrosta Daniel Crosta
              Reporter:
              schwerin Andy Schwerin
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: