[test] Change precedence of statusfile flags

Bug: v8:7812
Change-Id: Ia5a9c68e0aeb9d993ca2cd5f855ff39e172890e8
Reviewed-on: https://chromium-review.googlesource.com/1090282
Reviewed-by: Sathya Gunasekaran <gsathya@chromium.org>
Reviewed-by: Sergiy Byelozyorov <sergiyb@chromium.org>
Commit-Queue: Michael Achenbach <machenbach@chromium.org>
Cr-Commit-Position: refs/heads/master@{#53601}
This commit is contained in:
Michael Achenbach 2018-06-07 11:39:32 +02:00 committed by Commit Bot
parent 1086bb7f92
commit eb086bb6b2

View File

@ -153,9 +153,10 @@ class TestCase(object):
- random seed
- extra flags (from command line)
- user flags (variant/fuzzer flags)
- statusfile flags
- mode flags (based on chosen mode)
- source flags (from source code) [empty by default]
- test-suite flags
- statusfile flags
The best way to modify how parameters are created is to only override
methods for getting partial parameters.
@ -165,10 +166,10 @@ class TestCase(object):
self._get_random_seed_flags() +
self._get_extra_flags() +
self._get_variant_flags() +
self._get_statusfile_flags() +
self._get_mode_flags() +
self._get_source_flags() +
self._get_suite_flags()
self._get_suite_flags() +
self._get_statusfile_flags()
)
def _get_cmd_env(self):