aboutsummaryrefslogtreecommitdiff
path: root/test/aarch64
diff options
context:
space:
mode:
Diffstat (limited to 'test/aarch64')
-rw-r--r--test/aarch64/test-assembler-aarch64.h10
-rw-r--r--test/aarch64/test-simulator-aarch64.cc6
2 files changed, 10 insertions, 6 deletions
diff --git a/test/aarch64/test-assembler-aarch64.h b/test/aarch64/test-assembler-aarch64.h
index b45c7ae8..cc4160b4 100644
--- a/test/aarch64/test-assembler-aarch64.h
+++ b/test/aarch64/test-assembler-aarch64.h
@@ -302,10 +302,12 @@ inline bool CanRun(const CPUFeatures& required, bool* queried_can_run) {
if (!*queried_can_run) {
*queried_can_run = true;
CPUFeatures missing = required.Without(cpu);
- std::cout << "Warning: This test cannot execute its generated code on this "
- "CPU.\n";
- std::cout << " Required: { " << required << " }\n";
- std::cout << " Missing: { " << missing << " }\n";
+ // Note: This message needs to match REGEXP_MISSING_FEATURES from
+ // tools/threaded_test.py.
+ std::cout << "SKIPPED: Missing features: { " << missing << " }\n";
+ std::cout << "This test requires the following features to run its "
+ "generated code on this CPU: "
+ << required << "\n";
}
return false;
}
diff --git a/test/aarch64/test-simulator-aarch64.cc b/test/aarch64/test-simulator-aarch64.cc
index b145bb9a..257326f1 100644
--- a/test/aarch64/test-simulator-aarch64.cc
+++ b/test/aarch64/test-simulator-aarch64.cc
@@ -142,8 +142,10 @@ namespace aarch64 {
*skipped = false; \
} else { \
std::stringstream os; \
- os << "Warning: skipping test due to missing CPU features.\n"; \
- os << " Missing: {" << requirements.Without(this_machine) << "}\n"; \
+ /* Note: This message needs to match REGEXP_MISSING_FEATURES from */ \
+ /* tools/threaded_test.py. */ \
+ os << "SKIPPED: Missing features: { "; \
+ os << requirements.Without(this_machine) << " }\n"; \
printf("%s", os.str().c_str()); \
*skipped = true; \
} \