-
Type: Improvement
-
Resolution: Won't Fix
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Testing Infrastructure
-
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"