ソースを参照

ENH: ctkBackTraceTest should be run only in Debug Mode

In release mode, this test is failed without good reason.
Moreover, everything leads to believe that this test may only be excpected to work in debug mode because of the message error produced during the release mode.
mayeul 9 年 前
コミット
74078e348c
共有1 個のファイルを変更した3 個の追加1 個の削除を含む
  1. 3 1
      Libs/Core/Testing/Cpp/CMakeLists.txt

+ 3 - 1
Libs/Core/Testing/Cpp/CMakeLists.txt

@@ -137,7 +137,9 @@ SIMPLE_TEST( ctkAbstractLibraryFactoryTest1 $<TARGET_FILE:CTKDummyPlugin> )
 SIMPLE_TEST( ctkAbstractObjectFactoryTest1 )
 SIMPLE_TEST( ctkAbstractPluginFactoryTest1 $<TARGET_FILE:CTKDummyPlugin> )
 SIMPLE_TEST( ctkAbstractQObjectFactoryTest1 )
-SIMPLE_TEST( ctkBackTraceTest )
+if(CMAKE_BUILD_TYPE MATCHES "Debug")
+  SIMPLE_TEST( ctkBackTraceTest )
+endif()
 if(HAVE_BFD)
   SIMPLE_TEST( ctkBinaryFileDescriptorTest1 $<TARGET_FILE:ctkBinaryFileDescriptorTestHelper> )
 endif()