summaryrefslogtreecommitdiffstats
path: root/ceee
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-10 23:01:20 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-10 23:01:20 +0000
commit42ff47b781b72643d2c5a2c4fe2159b4c3e20347 (patch)
tree091ea301fdd6bdb3ae280f015571bfb4a0da11b6 /ceee
parent0fcfb2a1252c8665c8078aa1ccd94b5153a92f18 (diff)
downloadchromium_src-42ff47b781b72643d2c5a2c4fe2159b4c3e20347.zip
chromium_src-42ff47b781b72643d2c5a2c4fe2159b4c3e20347.tar.gz
chromium_src-42ff47b781b72643d2c5a2c4fe2159b4c3e20347.tar.bz2
Change #ifdef _DEBUG test to #ifndef NDEBUG test.
BUG=None TEST=trybots Review URL: http://codereview.chromium.org/5991010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70956 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ceee')
-rw-r--r--ceee/testing/utils/test_utils.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ceee/testing/utils/test_utils.h b/ceee/testing/utils/test_utils.h
index 1fb03b9..3e3df1f 100644
--- a/ceee/testing/utils/test_utils.h
+++ b/ceee/testing/utils/test_utils.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
@@ -316,7 +316,7 @@ inline ::std::ostream& operator<<(::std::ostream& os, const VARIANT& var) {
//
// For noinline pragma, see
// http://msdn.microsoft.com/en-us/library/cx053bca(VS.71).aspx
-#ifdef _DEBUG
+#ifndef NDEBUG
#define TEST_DEBUG_ONLY(test_case_name, test_name) \
TEST(test_case_name, test_name)
#define TEST_F_DEBUG_ONLY(test_fixture, test_name) \