summaryrefslogtreecommitdiff
path: root/unittests
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2011-06-15 20:39:05 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2011-06-15 20:39:05 +0000
commit5cf34feb6775e6528c728e8d0c359aa68561a373 (patch)
tree0017c9024c509b51f11db95821465ab5a486a950 /unittests
parent3a3465b71db858723988f61d72b7135e6dff329b (diff)
downloadllvm-5cf34feb6775e6528c728e8d0c359aa68561a373.tar.gz
llvm-5cf34feb6775e6528c728e8d0c359aa68561a373.tar.bz2
llvm-5cf34feb6775e6528c728e8d0c359aa68561a373.tar.xz
Try fixing http://google1.osuosl.org:8011/builders/clang-i686-freebsd/builds/3548
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133081 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests')
-rw-r--r--unittests/ADT/PackedVectorTest.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/unittests/ADT/PackedVectorTest.cpp b/unittests/ADT/PackedVectorTest.cpp
index 19087abaf3..55b5d8d049 100644
--- a/unittests/ADT/PackedVectorTest.cpp
+++ b/unittests/ADT/PackedVectorTest.cpp
@@ -74,6 +74,8 @@ TEST(PackedVectorTest, Operation) {
EXPECT_EQ(3U, Vec[1]);
}
+#ifdef EXPECT_DEBUG_DEATH
+
TEST(PackedVectorTest, UnsignedValues) {
PackedVector<unsigned, 2> Vec(1);
Vec[0] = 0;
@@ -106,6 +108,8 @@ TEST(PackedVectorTest, SignedValues) {
EXPECT_DEBUG_DEATH(Vec[0] = 4, "value is too big");
}
+#endif
+
}
#endif