Skip to content
Snippets Groups Projects
Commit 79b73fde authored by Thomas Feuvrier's avatar Thomas Feuvrier
Browse files

Add Test for 6s (libf2c) integrations

parent 3fbc8e18
No related branches found
No related tags found
No related merge requests found
// iostream is used for general output
//
#include <iostream>
#include "main_6s.c"
int SIXSMainTest(int argc, char* argv[])
{
return (ssssss_());
}
......@@ -60,6 +60,13 @@ ADD_TEST(utTvSvmTestGenericModelTest ${UTILITIES_TESTS}
${TEMP}/svm_model_image_generic_kernel_test
)
# ------- lib otbsvm ------------------------------
# The file is not read. It a screen user scan. main.exe < 132.149.107.66.wloip20967.INP
#ADD_TEST(utTv6SMainTest ${UTILITIES_TESTS}
# SIXSMainTest
# ${INPUTDATA}/132.149.107.66.wloip20967.INP
#)
......@@ -70,12 +77,16 @@ ijBSplineScatteredDataPointSetToImageFilterTest.cxx
svmGenericKernelFunctor.cxx
svmTest.cxx
svmGenericKernelTest.cxx
6SMainTest.cxx
)
INCLUDE_DIRECTORIES("${OTBTesting_BINARY_DIR}")
ADD_EXECUTABLE(otbUtilitiesTests otbUtilitiesTests.cxx ${UtilitiesTests_SRCS})
TARGET_LINK_LIBRARIES(otbUtilitiesTests OTBIO OTBCommon gdal ITKIO ITKAlgorithms ITKStatistics ITKCommon otbossim otbsvm)
TARGET_LINK_LIBRARIES(otbUtilitiesTests OTBIO OTBCommon gdal ITKIO ITKAlgorithms ITKStatistics ITKCommon otbossim otbsvm otb6S)
IF(UNIX)
TARGET_LINK_LIBRARIES (otbUtilitiesTests m)
ENDIF(UNIX)
ENDIF( NOT OTB_DISABLE_CXX_TESTING )
This diff is collapsed.
......@@ -31,4 +31,5 @@ REGISTER_TEST(ijBSplineScatteredDataPointSetToImageFilterTest);
REGISTER_TEST(svmGenericKernelFunctor);
REGISTER_TEST(svmTest);
REGISTER_TEST(svmGenericKernelTest);
REGISTER_TEST(SIXSMainTest);
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment