ECC-205: add test invoking bufr_filter script

This commit is contained in:
Shahram Najm 2016-02-19 14:00:53 +00:00
parent ce478aa81c
commit c913c808d7
2 changed files with 5 additions and 1 deletions

View File

@ -45,6 +45,7 @@ bufr_files=`cat bufr_data_files.txt`
for f in ${bufr_files} ; do
echo "file: $f" >> $fLog
${tools_dir}codes_bufr_filter $fRules $f >> $fLog
${tools_dir}bufr_filter $fRules $f >> $fLog # See ECC-205
done
#-----------------------------------------------------------

View File

@ -87,8 +87,11 @@ install( FILES ${CMAKE_CURRENT_SOURCE_DIR}/bufr_compare_dir
WORLD_EXECUTE WORLD_READ )
# bufr_filter script (See ECC-205)
execute_process( COMMAND ${CMAKE_COMMAND} -E copy_if_different
${PROJECT_SOURCE_DIR}/tools/bufr_filter
${CMAKE_BINARY_DIR}/bin/ )
install( FILES ${CMAKE_CURRENT_SOURCE_DIR}/bufr_filter
DESTINATION ${INSTALL_BIN_DIR}
PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ