From a8b8fbbd98c6f0dbd34cb27d77c23201b6f26bc0 Mon Sep 17 00:00:00 2001 From: "bmeurer@chromium.org" Date: Tue, 12 Aug 2014 09:48:52 +0000 Subject: [PATCH] Rename COMPILER_TEST to TARGET_TARGET. The name COMPILER_TEST is misleading here. R=jarin@chromium.org Review URL: https://codereview.chromium.org/465913002 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23070 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- .../arm/instruction-selector-arm-unittest.cc | 2 +- test/compiler-unittests/compiler-unittests.h | 12 ++++++------ .../instruction-selector-unittest.cc | 4 ++-- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/test/compiler-unittests/arm/instruction-selector-arm-unittest.cc b/test/compiler-unittests/arm/instruction-selector-arm-unittest.cc index 3e51722ed3..b781ac8f9f 100644 --- a/test/compiler-unittests/arm/instruction-selector-arm-unittest.cc +++ b/test/compiler-unittests/arm/instruction-selector-arm-unittest.cc @@ -11,7 +11,7 @@ namespace compiler { class InstructionSelectorARMTest : public InstructionSelectorTest {}; -COMPILER_TEST_F(InstructionSelectorARMTest, Int32AddP) { +TARGET_TEST_F(InstructionSelectorARMTest, Int32AddP) { StreamBuilder m(this, kMachineWord32, kMachineWord32, kMachineWord32); m.Return(m.Int32Add(m.Parameter(0), m.Parameter(1))); Stream s = m.Build(); diff --git a/test/compiler-unittests/compiler-unittests.h b/test/compiler-unittests/compiler-unittests.h index 6d063ee27b..aa978a2c52 100644 --- a/test/compiler-unittests/compiler-unittests.h +++ b/test/compiler-unittests/compiler-unittests.h @@ -13,23 +13,23 @@ namespace v8 { namespace internal { namespace compiler { -// The COMPILER_TEST(Case, Name) macro works just like +// The TARGET_TEST(Case, Name) macro works just like // TEST(Case, Name), except that the test is disabled // if the platform is not a supported TurboFan target. #if V8_TURBOFAN_TARGET -#define COMPILER_TEST(Case, Name) TEST(Case, Name) +#define TARGET_TEST(Case, Name) TEST(Case, Name) #else -#define COMPILER_TEST(Case, Name) TEST(Case, DISABLED_##Name) +#define TARGET_TEST(Case, Name) TEST(Case, DISABLED_##Name) #endif -// The COMPILER_TEST_F(Case, Name) macro works just like +// The TARGET_TEST_F(Case, Name) macro works just like // TEST_F(Case, Name), except that the test is disabled // if the platform is not a supported TurboFan target. #if V8_TURBOFAN_TARGET -#define COMPILER_TEST_F(Case, Name) TEST_F(Case, Name) +#define TARGET_TEST_F(Case, Name) TEST_F(Case, Name) #else -#define COMPILER_TEST_F(Case, Name) TEST_F(Case, DISABLED_##Name) +#define TARGET_TEST_F(Case, Name) TEST_F(Case, DISABLED_##Name) #endif diff --git a/test/compiler-unittests/instruction-selector-unittest.cc b/test/compiler-unittests/instruction-selector-unittest.cc index a862f98f10..70186529af 100644 --- a/test/compiler-unittests/instruction-selector-unittest.cc +++ b/test/compiler-unittests/instruction-selector-unittest.cc @@ -62,7 +62,7 @@ InstructionSelectorTest::Stream InstructionSelectorTest::StreamBuilder::Build( } -COMPILER_TEST_F(InstructionSelectorTest, ReturnP) { +TARGET_TEST_F(InstructionSelectorTest, ReturnP) { StreamBuilder m(this, kMachineWord32, kMachineWord32); m.Return(m.Parameter(0)); Stream s = m.Build(kAllInstructions); @@ -74,7 +74,7 @@ COMPILER_TEST_F(InstructionSelectorTest, ReturnP) { } -COMPILER_TEST_F(InstructionSelectorTest, ReturnImm) { +TARGET_TEST_F(InstructionSelectorTest, ReturnImm) { StreamBuilder m(this, kMachineWord32); m.Return(m.Int32Constant(0)); Stream s = m.Build(kAllInstructions);