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

Resmoke should offer --run-under and --run-under-args flags

    • Server Tooling & Methods

      Right now, it is hard to use resmoke to run processes under instrumentation like valgrind.

      The easiest way is to move mongos, mongod, and mongo to x.real, and then write shell scripts under the expected names that invoke the instrumentation program with the relevant arguments and the x.real file as the target to execute.

      It would simplify life greatly if resmoke offered flags like --run-under and --run-under-args, where processes started by resmoke were started as subordinates of the named program, launched with the specified arguments.

      I'm picturing:

      resmoke --run-under=valgrind --run-under-args="--track-origins=yes --leak-check=full"
      

            Assignee:
            backlog-server-stm Backlog - Server Tooling and Methods (STM) (Inactive)
            Reporter:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: