From a2e4755fd88c2d2711543b5efa199e57644e4945 Mon Sep 17 00:00:00 2001
From: Niclas Esser <nesser@mpifr-bonn.mpg.de>
Date: Mon, 17 Jul 2023 08:54:39 +0000
Subject: [PATCH] Test cases that should catch assert's (EXPECT_DEATH /
 ASSERT_DEATH) are causing the creation of a `core`-file. Exclude the tests.

---
 .../effelsberg/edd/test/src/UnpackerTester.cu | 32 +++++++++----------
 1 file changed, 16 insertions(+), 16 deletions(-)

diff --git a/psrdada_cpp/effelsberg/edd/test/src/UnpackerTester.cu b/psrdada_cpp/effelsberg/edd/test/src/UnpackerTester.cu
index 58977db8..cb683589 100644
--- a/psrdada_cpp/effelsberg/edd/test/src/UnpackerTester.cu
+++ b/psrdada_cpp/effelsberg/edd/test/src/UnpackerTester.cu
@@ -279,14 +279,14 @@ TEST_F(UnpackerTester, 12_bit_unpack_test_non_512_multiple)
     compare_against_host(gpu_output, host_output);
 }
 
-TEST_F(UnpackerTester, 12_bit_unpack_test_bad_size)
-{
-    std::size_t n = 1000;
-    Unpacker::InputType gpu_input(n);
-    Unpacker::OutputType gpu_output(n);
-    Unpacker unpacker(_stream);
-    ASSERT_DEATH(unpacker.unpack<12>(gpu_input, gpu_output), "");
-}
+// TEST_F(UnpackerTester, 12_bit_unpack_test_bad_size)
+// {
+//     std::size_t n = 1000;
+//     Unpacker::InputType gpu_input(n);
+//     Unpacker::OutputType gpu_output(n);
+//     Unpacker unpacker(_stream);
+//     EXPECT_DEATH(unpacker.unpack<12>(gpu_input, gpu_output), "");
+// }
 
 TEST_F(UnpackerTester, 8_bit_unpack_test)
 {
@@ -316,14 +316,14 @@ TEST_F(UnpackerTester, 8_bit_unpack_test_non_512_multiple)
     compare_against_host(gpu_output, host_output);
 }
 
-TEST_F(UnpackerTester, 10_bit_unpack_test_bad_size)
-{
-    std::size_t n = 641;
-    Unpacker::InputType gpu_input(n);
-    Unpacker::OutputType gpu_output(n);
-    Unpacker unpacker(_stream);
-    ASSERT_DEATH(unpacker.unpack<10>(gpu_input, gpu_output), "");
-}
+// TEST_F(UnpackerTester, 10_bit_unpack_test_bad_size)
+// {
+//     std::size_t n = 641;
+//     Unpacker::InputType gpu_input(n);
+//     Unpacker::OutputType gpu_output(n);
+//     Unpacker unpacker(_stream);
+//     EXPECT_DEATH(unpacker.unpack<10>(gpu_input, gpu_output), "");
+// }
 
 TEST_F(UnpackerTester, 10_bit_unpack_test)
 {
-- 
GitLab