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
Remote Modules
let-it-snow
Commits
6e19a738
Commit
6e19a738
authored
Dec 17, 2018
by
Germain Salgues
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ENH: add test with zipped input, test data must be update with Data-LIS-1.5
parent
878a8551
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
test/CMakeLists.txt
test/CMakeLists.txt
+15
-0
No files found.
test/CMakeLists.txt
View file @
6e19a738
...
...
@@ -103,6 +103,21 @@ add_test(NAME preprocessing_test
"
${
OUTPUT_TEST
}
/landsat_bassies_srtm.tif"
)
set
(
OUTPUT_TEST_S2_SMALL_ZIP
${
OUTPUT_TEST
}
/s2-small_zip
)
add_test
(
NAME s2-small_zip_test_json_builder_test
COMMAND
${
PYTHON_EXECUTABLE
}
${
CMAKE_BINARY_DIR
}
/app/build_json.py
-dem
"
${
DATA_TEST
}
/S2-SMALL/SRTM/S2__TEST_AUX_REFDE2_T29RNQ_0001_ALT_R2.TIF"
"
${
DATA_TEST
}
/S2-SMALL.zip"
"
${
OUTPUT_TEST_S2_SMALL_ZIP
}
"
)
set
(
CURRENT_TEST_BASELINE
${
BASELINE
}
/
${
test_name
}
_test
)
set
(
CURRENT_TEST_OUTPUT
${
OUTPUT_TEST
}
/
${
test_name
}
)
add_test
(
NAME s2-small_zip_test
COMMAND
${
PYTHON_EXECUTABLE
}
${
CMAKE_BINARY_DIR
}
/app/run_snow_detector.py
${
OUTPUT_TEST_S2_SMALL_ZIP
}
/param_test.json
)
# add_test(NAME compare_preprocessing_output_test
# COMMAND ${CMAKE_COMMAND} -E compare_files
# "${OUTPUT_TEST}/landsat_bassies_srtm.tif"
...
...
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