Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(507)

Unified Diff: test/cctest/test-regexp.cc

Issue 12635: * Fixed exclusion of IA32-specific tests on ARM architecture. (Closed)
Patch Set: Created 12 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« src/regexp-macro-assembler-ia32.h ('K') | « test/cctest/cctest.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/test-regexp.cc
diff --git a/test/cctest/test-regexp.cc b/test/cctest/test-regexp.cc
index 4decfee52cff2e379d0c33f0b3db45feca747ad3..8b1dd4f9d737111339703073378de4a3226cb35a 100644
--- a/test/cctest/test-regexp.cc
+++ b/test/cctest/test-regexp.cc
@@ -720,7 +720,9 @@ TEST(MacroAssembler) {
}
-IA32TEST(MacroAssemblerIA32Success) {
+#if !(defined(ARM) || defined(__arm__) || defined(__thumb__))
iposva 2008/11/25 15:44:10 It should be sufficient to only test for "defined(
+
+TEST(MacroAssemblerIA32Success) {
typedef bool (*AsciiTest) (
SeqAsciiString** base, int start_index, int end_index, int* captures);
@@ -756,7 +758,7 @@ IA32TEST(MacroAssemblerIA32Success) {
}
-IA32TEST(MacroAssemblerIA32Simple) {
+TEST(MacroAssemblerIA32Simple) {
typedef bool (*AsciiTest) (
SeqAsciiString** base, int start_index, int end_index, int* captures);
@@ -812,7 +814,7 @@ IA32TEST(MacroAssemblerIA32Simple) {
}
-IA32TEST(MacroAssemblerIA32Backtrack) {
+TEST(MacroAssemblerIA32Backtrack) {
typedef bool (*AsciiTest) (
SeqAsciiString** base, int start_index, int end_index, int* captures);
@@ -855,7 +857,7 @@ IA32TEST(MacroAssemblerIA32Backtrack) {
}
-IA32TEST(MacroAssemblerIA32Registers) {
+TEST(MacroAssemblerIA32Registers) {
typedef bool (*AsciiTest) (
SeqAsciiString** base, int start_index, int end_index, int* captures);
@@ -952,6 +954,7 @@ IA32TEST(MacroAssemblerIA32Registers) {
CHECK_EQ(9, output[4]);
}
+#endif // !(defined(ARM) || defined(__arm__) || defined(__thumb__))
TEST(AddInverseToTable) {
static const int kLimit = 1000;
« src/regexp-macro-assembler-ia32.h ('K') | « test/cctest/cctest.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698