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.

    • Type: Icon: New Feature New Feature
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.1.2
    • Component/s: Testing Infrastructure
    • None

      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.

            Assignee:
            dcrosta Daniel Crosta
            Reporter:
            schwerin@mongodb.com Andy Schwerin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: