mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-16 17:22:55 +00:00
Add content to sentinel-data
It makes me irrationally nervous to check an empty file as the sentinel data. Instead, add some text that can be compared agains. Also add some explenation to the file to prevent naive developers from messing with the file.
This commit is contained in:
parent
e9129312f5
commit
9ad4ad7214
@ -161,8 +161,8 @@ include(VTKmCompilerFlags)
|
|||||||
#-----------------------------------------------------------------------------
|
#-----------------------------------------------------------------------------
|
||||||
# We need to check and see if git lfs is installed so that test data will
|
# We need to check and see if git lfs is installed so that test data will
|
||||||
# be available for use
|
# be available for use
|
||||||
file(READ "${VTKm_SOURCE_DIR}/data/data/sentinel-data" data)
|
file(STRINGS "${VTKm_SOURCE_DIR}/data/data/sentinel-data" sentinel_data LIMIT_COUNT 1)
|
||||||
if (NOT data STREQUAL "\n")
|
if (NOT sentinel_data STREQUAL "-- DO NOT MODIFY THIS LINE --")
|
||||||
message(WARNING
|
message(WARNING
|
||||||
"Testing is enabled, but the data is not available. Use git lfs in order "
|
"Testing is enabled, but the data is not available. Use git lfs in order "
|
||||||
" to obtain the testing data.")
|
" to obtain the testing data.")
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b
|
oid sha256:cac2600b02c8352270d8251718cd8effddb6c78d133f1fd0f08b1bccb0eac51d
|
||||||
size 1
|
size 121
|
||||||
|
Loading…
Reference in New Issue
Block a user