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

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: 2.1.2
    • Component/s: Testing Infrastructure
    • None
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • 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:
            Daniel Crosta
            Reporter:
            Andy Schwerin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: