trace_replay: Run trace based on flags.

In the past, tests always run with default config then additional config
if corresponding flag is present.
However, in some situation running with default config is not
applicable, e.g. proton.

This CL changes the flag logic so test should list the flag(mode to run)
explicitly.

BUG=b:236176961
TEST=tast run -buildbundle=crosint $DUT borealis.TraceReplay.glxgears
TEST=tast run -buildbundle=crosint $DUT borealis.TraceReplayProton.*
2022-06-28T01:37:53.311502Z [01:37:53.285] [Proxy Server] Replaying the trace file with Proton and /opt/win_tools/bin/exerun.py binary
2022-06-28T01:40:07.690444Z [01:40:07.733] [Proxy Server] A trace replay Replay_ProtonD3D_win64 has finished

Cq-Depend: chrome-internal:4847895
Change-Id: Ib725e92d8d1a65ac8ebbae43224b55e75d689523
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/graphics/+/3708905
Reviewed-by: Syed Faaiz Hussain <syedfaaiz@google.com>
Commit-Queue: Ilja Friedel <ihf@chromium.org>
Auto-Submit: Po-Hsien Wang <pwang@chromium.org>
Reviewed-by: Ilja Friedel <ihf@chromium.org>
Tested-by: Ilja Friedel <ihf@chromium.org>
1 file changed