[opengm] 26/40: add ibfs test

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Sun Feb 14 16:06:03 UTC 2016


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch master
in repository opengm.

commit e5cc7e50b4f756986ddf89c03d202052b4cbdfae
Author: joergkappes <kappes at math.uni-heidelberg.de>
Date:   Fri Dec 4 13:54:09 2015 +0100

    add ibfs test
---
 src/unittest/inference/CMakeLists.txt | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/unittest/inference/CMakeLists.txt b/src/unittest/inference/CMakeLists.txt
index a475e71..1a80a09 100644
--- a/src/unittest/inference/CMakeLists.txt
+++ b/src/unittest/inference/CMakeLists.txt
@@ -134,6 +134,12 @@ if(WITH_BOOST)
    add_test(test-2sat ${CMAKE_CURRENT_BINARY_DIR}/test-2sat)
 endif()
 
+if(WITH_MAXFLOW_IBFS)
+  add_executable(test-ibfs test_ibfs.cxx ${headers}) 
+  target_link_libraries(test-ibfs external-library-maxflow-ibfs)
+  add_test(test-ibfs ${CMAKE_CURRENT_BINARY_DIR}/test-ibfs)
+endif()
+
 if(WITH_BOOST OR WITH_MAXFLOW OR WITH_MAXFLOW_IBFS)
    add_executable(test-minstcut test_minstcut.cxx ${headers})
    add_executable(test-graphcut test_graphcut.cxx ${headers})

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/opengm.git



More information about the debian-science-commits mailing list