Commit 96f24ae6 authored by Julien Malik's avatar Julien Malik
Browse files

TEST: in progress, repair the not run test

parent d5cde7f0
......@@ -45,8 +45,6 @@ ENDIF(OTB_USE_EXTERNAL_BOOST)
OTB_ADD_EXECUTABLE(otbOGRTestsV "${OGRNon_UT_SRC}" "OTBIO;OTBTesting")
TARGET_LINK_LIBRARIES(otbOGRTestsV OTBOGRAdapters OTBTesting
)
ADD_TEST(coTuOGRDataSourceWrapperIO ${OGR_TESTS_NON_UT}
otbOGRDataSourceWrapperIO
)
ADD_TEST(coTuOGRDataSourceWrapperIO ${CXX_TEST_PATH}/otbOGRTestsV )
ENDIF( NOT OTB_DISABLE_CXX_TESTING AND BUILD_TESTING )
......@@ -32,7 +32,7 @@ using namespace otb;
// int otbOGRDataSourceNew (int argc, char **argv)
int main(int argc, char **argv)
{
if (argc <1)
if (argc < 2)
{
std::cerr << "otbOGRDataSourceNew <shape-file>\n";
return EXIT_FAILURE;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment