Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Main Repositories
otb
Commits
d1676020
Commit
d1676020
authored
Mar 20, 2015
by
Christophe Palmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ENH: OTBModuleHeaderTest.cmake, dummy removed
parent
c16dee7b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
CMake/OTBModuleHeaderTest.cmake
CMake/OTBModuleHeaderTest.cmake
+1
-1
Utilities/Maintenance/BuildHeaderTest.py
Utilities/Maintenance/BuildHeaderTest.py
+5
-1
No files found.
CMake/OTBModuleHeaderTest.cmake
View file @
d1676020
...
...
@@ -21,7 +21,7 @@ add_custom_target( OTBHeaderTests
SET
(
BANNED_HEADERS
'dummy'
)
SET
(
BANNED_HEADERS
)
if
(
NOT OTB_USE_OPENCV
)
SET
(
BANNED_HEADERS
"
${
BANNED_HEADERS
}
otbDecisionTreeMachineLearningModelFactory.h otbDecisionTreeMachineLearningModel.h otbKNearestNeighborsMachineLearningModelFactory.h otbKNearestNeighborsMachineLearningModel.h otbRandomForestsMachineLearningModelFactory.h otbRandomForestsMachineLearningModel.h otbSVMMachineLearningModelFactory.h otbSVMMachineLearningModel.h otbGradientBoostedTreeMachineLearningModelFactory.h otbGradientBoostedTreeMachineLearningModel.h otbBoostMachineLearningModelFactory.h otbBoostMachineLearningModel.h otbNeuralNetworkMachineLearningModelFactory.h otbNeuralNetworkMachineLearningModel.h otbNormalBayesMachineLearningModelFactory.h otbNormalBayesMachineLearningModel.h otbRequiresOpenCVCheck.h"
)
endif
()
...
...
Utilities/Maintenance/BuildHeaderTest.py
View file @
d1676020
...
...
@@ -81,7 +81,11 @@ def main():
module_binary_path
=
sys
.
argv
[
3
]
maximum_number_of_headers
=
int
(
sys
.
argv
[
4
])
test_num
=
int
(
sys
.
argv
[
5
])
BANNED_HEADERS
=
sys
.
argv
[
6
].
split
(
' '
)
if
len
(
sys
.
argv
)
==
7
:
BANNED_HEADERS
=
sys
.
argv
[
6
].
split
(
' '
)
else
:
BANNED_HEADERS
=
[]
# Get all the header files.
include_dir
=
os
.
path
.
join
(
module_source_path
,
'include'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment