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

Side by Side Diff: test/unittests/compiler/compiler-test-utils.h

Issue 615393002: Move unit tests to test/unittests. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: REBASE Created 6 years, 2 months 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_COMPILER_COMPILER_TEST_UTILS_H_ 5 #ifndef V8_UNITTESTS_COMPILER_COMPILER_TEST_UTILS_H_
6 #define V8_COMPILER_COMPILER_TEST_UTILS_H_ 6 #define V8_UNITTESTS_COMPILER_COMPILER_TEST_UTILS_H_
7 7
8 #include "testing/gtest/include/gtest/gtest.h" 8 #include "testing/gtest/include/gtest/gtest.h"
9 9
10 namespace v8 { 10 namespace v8 {
11 namespace internal { 11 namespace internal {
12 namespace compiler { 12 namespace compiler {
13 13
14 // The TARGET_TEST(Case, Name) macro works just like 14 // The TARGET_TEST(Case, Name) macro works just like
15 // TEST(Case, Name), except that the test is disabled 15 // TEST(Case, Name), except that the test is disabled
16 // if the platform is not a supported TurboFan target. 16 // if the platform is not a supported TurboFan target.
(...skipping 30 matching lines...) Expand all
47 #if V8_TURBOFAN_TARGET 47 #if V8_TURBOFAN_TARGET
48 #define TARGET_TYPED_TEST(Case, Name) TYPED_TEST(Case, Name) 48 #define TARGET_TYPED_TEST(Case, Name) TYPED_TEST(Case, Name)
49 #else 49 #else
50 #define TARGET_TYPED_TEST(Case, Name) TYPED_TEST(Case, DISABLED_##Name) 50 #define TARGET_TYPED_TEST(Case, Name) TYPED_TEST(Case, DISABLED_##Name)
51 #endif 51 #endif
52 52
53 } // namespace compiler 53 } // namespace compiler
54 } // namespace internal 54 } // namespace internal
55 } // namespace v8 55 } // namespace v8
56 56
57 #endif // V8_COMPILER_COMPILER_TEST_UTILS_H_ 57 #endif // V8_UNITTESTS_COMPILER_COMPILER_TEST_UTILS_H_
OLDNEW
« no previous file with comments | « test/unittests/compiler/common-operator-unittest.cc ('k') | test/unittests/compiler/graph-reducer-unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698