commit | 7abe37e4aee38cc79d91dd069a37d7e91d5bef53 | [log] [tgz] |
---|---|---|
author | Shih-wei Liao <sliao@google.com> | Wed Apr 28 01:47:00 2010 -0700 |
committer | Shih-wei Liao <sliao@google.com> | Wed Apr 28 01:47:00 2010 -0700 |
tree | c13b26fc3d8909240f981988535c0b82dd9bf37c | |
parent | 6037a7c3c97b651dd70e48ebe5453134713971ed [diff] [blame] |
Sync upstream to r102410. Re-turn on sdk. Change-Id: I91a890863989a67243b4d2dfd1ae09b843ebaeaf
diff --git a/unittests/Support/LeakDetectorTest.cpp b/unittests/Support/LeakDetectorTest.cpp index 85ef046..d198c7a 100644 --- a/unittests/Support/LeakDetectorTest.cpp +++ b/unittests/Support/LeakDetectorTest.cpp
@@ -15,6 +15,7 @@ namespace { #ifdef GTEST_HAS_DEATH_TEST +#ifndef NDEBUG TEST(LeakDetector, Death1) { LeakDetector::addGarbageObject((void*) 1); LeakDetector::addGarbageObject((void*) 2); @@ -25,5 +26,6 @@ "Cache != o && \"Object already in set!\""); } #endif +#endif }