resmoke fails after running a CppBenchmark with no defined benchmarks

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Won't Do
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Server Development Platform
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      I have #ifdef controlled benchmarks. It may be the case that no benchmarks end up being defined in the *_bm executable. This isn't considered an error. It's still a valid program that just starts up and generates a report that it did nothing, and exits with exit code 0.

      Resmoke however, is not able to handle this possibility.

      https://parsley.mongodb.com/evergreen/mongodb_mongo_master_rhel80_debug_asan_benchmarks_orphaned_patch_4e1beba356e790683f4640820684ff8f38b7c51d_63d2ca80c9ec44150d4678b3_23_01_26_18_54_50/0/task?bookmarks=0,387,429,437,690

      To work around this, I would have to define a dummy benchmark unconditionally just to deal with resmoke, which isn't ideal.

            Assignee:
            [DO NOT ASSIGN] Backlog - Server Development Platform Team (SDP) (Inactive)
            Reporter:
            Billy Donahue
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: