DescriptionPropagate decorators properly in telemetry_perf_unittests.
The load_tests() protocol we use for running the
benchmark_smoke_unittests in telemetry_perf_unittests does some
complicated python hacking in order to synthesize python unit
test cases from the benchmark files.
Prior to the fix in this patch, any decorators that were applied
to the original benchmarks (in order to enable or disable tests)
were being ignored. This patch makes sure the decorated
enabled/disabled strings are copied over to the synthesized test
method.
R=tonyg@chromium.org, dtu@chromium.org
BUG=
Committed: https://crrev.com/50a0abfb13b02bb65ebb23ab8a208499db0c795d
Cr-Commit-Position: refs/heads/master@{#301991}
Patch Set 1 #Patch Set 2 : add a TODO to discover all tests #Messages
Total messages: 6 (1 generated)
|