From 1fd5a25b100f9f13942307b8792021111b9f7b63 Mon Sep 17 00:00:00 2001 From: Ilija Pavlovic Date: Wed, 28 Feb 2018 15:25:35 +0100 Subject: [PATCH] [test] Add status-file variable mips_arch_variant. Introducing a new status-file variable: mips_arch_variant. With this variable, in status files will be possible to define selections which are based on MIPS architecture revisions/variants. TEST= BUG= Change-Id: Ifd682552db2f26be4e56dc94ad50bed063ff14c5 Reviewed-on: https://chromium-review.googlesource.com/941212 Reviewed-by: Michael Achenbach Commit-Queue: Ivica Bogosavljevic Cr-Commit-Position: refs/heads/master@{#51647} --- tools/testrunner/base_runner.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tools/testrunner/base_runner.py b/tools/testrunner/base_runner.py index 7721360e2a..cfea1527d4 100644 --- a/tools/testrunner/base_runner.py +++ b/tools/testrunner/base_runner.py @@ -599,6 +599,10 @@ class BaseTestRunner(object): self.build_config.mips_arch_variant == "r6" and self.build_config.mips_use_msa) + mips_arch_variant = ( + self.build_config.arch in ['mipsel', 'mips', 'mips64', 'mips64el'] and + self.build_config.mips_arch_variant) + # TODO(all): Combine "simulator" and "simulator_run". # TODO(machenbach): In GN we can derive simulator run from # target_arch != v8_target_arch in the dumped build config. @@ -613,6 +617,7 @@ class BaseTestRunner(object): "gc_stress": False, "gcov_coverage": self.build_config.gcov_coverage, "isolates": options.isolates, + "mips_arch_variant": mips_arch_variant, "mode": self.mode_options.status_mode, "msan": self.build_config.msan, "no_harness": options.no_harness,