aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorlevlam <levlam@telegram.org>2019-04-26 06:03:14 +0300
committerlevlam <levlam@telegram.org>2019-04-26 06:03:14 +0300
commit2be7ec9a342eb0b4e3b6c9a4d236a975e6f38bb3 (patch)
tree1dd17a9736646586cad31f470bdcdb6aee94f51a
parent719377a7deb7575764919d21eb1eb76214276faa (diff)
Remove too hard for clang 3.4 (compiler Segmentation fault) test.
GitOrigin-RevId: e9fa868b86748a9b8e63df8097ea1a55268b64fa
-rw-r--r--test/set_with_position.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/set_with_position.cpp b/test/set_with_position.cpp
index 97d9a2981..f5da39615 100644
--- a/test/set_with_position.cpp
+++ b/test/set_with_position.cpp
@@ -153,6 +153,7 @@ static void test_hands() {
}
}
+#if !TD_CLANG
template <template <class> class RawSet>
static void test_stress() {
Random::Xorshift128plus rnd(123);
@@ -222,6 +223,7 @@ static void test_stress() {
}
}
}
+#endif
template <template <class> class RawSet>
static void test_speed() {
@@ -249,11 +251,13 @@ TEST(SetWithPosition, hands) {
test_hands<SetWithPosition>();
}
+#if !TD_CLANG
TEST(SetWithPosition, stress) {
test_stress<FastSetWithPosition>();
test_stress<OldSetWithPosition>();
test_stress<SetWithPosition>();
}
+#endif
TEST(SetWithPosition, speed) {
test_speed<FastSetWithPosition>();