Skip to content
Snippets Groups Projects
Commit ba072d5a authored by OTB Bot's avatar OTB Bot
Browse files

ENH: set a different test launcher for tests needing libsiftfast

parent ea52e3f0
No related branches found
No related tags found
No related merge requests found
......@@ -26,8 +26,6 @@ void RegisterTests()
{
REGISTER_TEST(HybridSegmentationFuzzyVoronoiTest);
REGISTER_TEST(EstimateAffineTransformationExampleTest);
REGISTER_TEST(SIFTDisparityMapEstimationTest);
REGISTER_TEST(SIFTFastExampleTest);
REGISTER_TEST(ScaleInvariantFeatureImageFilterTest);
}
......@@ -39,14 +37,6 @@ void RegisterTests()
#define main EstimateAffineTransformationExampleTest
#include "EstimateAffineTransformationExample.cxx"
#undef main
#define main SIFTDisparityMapEstimationTest
#include "SIFTDisparityMapEstimation.cxx"
#undef main
#define main ScaleInvariantFeatureImageFilterTest
#include "ScaleInvariantFeatureImageFilter.cxx"
#undef main
#define main SIFTFastExampleTest
#include "SIFTFastExample.cxx"
/*=========================================================================
Program: ORFEO Toolbox
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) Centre National d'Etudes Spatiales. All rights reserved.
See OTBCopyright.txt for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notices for more information.
=========================================================================*/
// this file defines the otbMultiScaleTest for the test driver
// and all it expects is that you have a function called RegisterTests
#include <iostream>
#include "otbTestMain.h"
void RegisterTests()
{
REGISTER_TEST(SIFTDisparityMapEstimationTest);
REGISTER_TEST(SIFTFastExampleTest);
}
#undef main
#define main SIFTDisparityMapEstimationTest
#include "SIFTDisparityMapEstimation.cxx"
#undef main
#define main SIFTFastExampleTest
#include "SIFTFastExample.cxx"
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