Such design is fragile because that entry can easily be deleted.
Such design is also intrusive because it bypasses real code path and hack into the pipeline.
A better design, is to have entries that are not triggered in normal run, but only triggered in tests.
The plan is to add a "test_group" field to GPU control list. By default if this field doesn't exist in an entry, it's value is zero, and that's the chrome's lists. If an entry is specified to a non-zero "test_group" = ii, and Chrome runs with --gpu-blacklist-test-group=ii, then the normal entries are ignored, and only that entry is active.
Comment 1 by zmo@chromium.org
, Jan 11 2018