From: azv Date: Mon, 22 Apr 2019 12:48:43 +0000 (+0300) Subject: Check reference data file for each HDF file X-Git-Tag: VEDF2019Lot4~101^2~97 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=fd65ca5d2e7f08fa904953682f1a8185c2ca7260;p=modules%2Fshaper.git Check reference data file for each HDF file --- diff --git a/test.hdfs/CMakeLists.txt b/test.hdfs/CMakeLists.txt index 65813884f..58c6c48bd 100644 --- a/test.hdfs/CMakeLists.txt +++ b/test.hdfs/CMakeLists.txt @@ -39,6 +39,10 @@ if (EXISTS ${RESTRICTED_ROOT_DIR}) foreach(eachFilePath ${hdfFilesRestr}) # Strip the ".hdf" suffix GET_FILENAME_COMPONENT(aTestName ${eachFilePath} NAME_WE) + # Check corresponding ".py" file with reference data exists + IF(NOT EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/${aTestName}.py") + MESSGAGE(WARNING "File ${aTestName}.py containing reference data does not exist") + ENDIF() # Add "SubprojectName_" prefix GET_FILENAME_COMPONENT(aSubprojectName ${CMAKE_CURRENT_SOURCE_DIR} NAME)