Create single-test unit test binaries for local development iteration

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • DevProd Build
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      When working on a single file it would be nice to iterate on just building that file rather than the whole file. 

      Quoting jason.chan@mongodb.com 

      Additionally, it’d be really nice to locally build a single test file. For example, I’d like to be able to generate an executable for producer_consumer_queue_test locally to minimize compile time when I’m working on that class. Today, we’d be able to do that but it’d involve defining a new CppUnitTest for every individual test file. I’m wondering if there’s something more clever that can be done with the CppUnitTest target to infer that a sub-target should be generated for each cpp file, and then keep it out of the evergreen build.

            Assignee:
            Unassigned
            Reporter:
            Jason Chan
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: