summaryrefslogtreecommitdiff
path: root/compiler/optimizing/scheduler_test.cc
diff options
context:
space:
mode:
author Chris Jones <christopher.jones@arm.com> 2024-09-20 17:28:33 +0100
committer Santiago Aboy Solanes <solanes@google.com> 2024-10-15 16:29:45 +0000
commitb50d59f4ca5557a7719dc26157f8f2fd9006913a (patch)
tree5d0c3f9b14302aa128a96d838b0bb683374309fe /compiler/optimizing/scheduler_test.cc
parent8c67e8c9c176f19fc491bac796a59d9d77a6e41b (diff)
Verify hardware supports ISA features in tests
When running codegen tests, verify that the ISA features used in the codegen are supported by the hardware. This strengthens checks for gtests that may use ISA features which are not supported by the hardware and therefore should not be run on that hardware. Test: art/test.py --gtest art_compiler_tests Change-Id: I56ebd6e964947fe004f466010a18faceb019bfae
Diffstat (limited to 'compiler/optimizing/scheduler_test.cc')
-rw-r--r--compiler/optimizing/scheduler_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/optimizing/scheduler_test.cc b/compiler/optimizing/scheduler_test.cc
index 182465aa54..7003bd2715 100644
--- a/compiler/optimizing/scheduler_test.cc
+++ b/compiler/optimizing/scheduler_test.cc
@@ -58,7 +58,7 @@ static ::std::vector<CodegenTargetConfig> GetTargetConfigs() {
};
for (const CodegenTargetConfig& test_config : test_config_candidates) {
- if (CanExecute(test_config.GetInstructionSet())) {
+ if (CanExecuteISA(test_config.GetInstructionSet())) {
v.push_back(test_config);
}
}