Skip to content
Snippets Groups Projects
Commit c7faaba2 authored by Lionel GUEZ's avatar Lionel GUEZ
Browse files

Rename to `test_write_null.f90`

Rename file `test_write_eddy.f90` to `test_write_null.f90`. The name
was badly chosen because the program is not a unit test of procedure
`write_eddy`. In fact, it does not even call `write_eddy`.
parent 4f0772d1
No related branches found
No related tags found
No related merge requests found
...@@ -30,13 +30,13 @@ if(CMAKE_Fortran_COMPILER_ID MATCHES GNU) ...@@ -30,13 +30,13 @@ if(CMAKE_Fortran_COMPILER_ID MATCHES GNU)
endif() endif()
endif() endif()
# test_write_eddy # test_write_null
add_executable(test_write_eddy test_write_eddy.f90) add_executable(test_write_null test_write_null.f90)
target_link_libraries(test_write_eddy PRIVATE Shapelib_03::shapelib_03 target_link_libraries(test_write_null PRIVATE Shapelib_03::shapelib_03
Contour_531::contour_531 Jumble::jumble) Contour_531::contour_531 Jumble::jumble)
set_target_properties(test_write_eddy PROPERTIES Fortran_MODULE_DIRECTORY set_target_properties(test_write_null PROPERTIES Fortran_MODULE_DIRECTORY
${CMAKE_CURRENT_BINARY_DIR}/${my_target}_modules) ${CMAKE_CURRENT_BINARY_DIR}/${my_target}_modules)
target_include_directories(test_write_eddy PRIVATE target_include_directories(test_write_null PRIVATE
${CMAKE_CURRENT_BINARY_DIR}/${my_target}_modules) ${CMAKE_CURRENT_BINARY_DIR}/${my_target}_modules)
add_subdirectory(Inst_eddies) add_subdirectory(Inst_eddies)
......
...@@ -13,7 +13,7 @@ target_sources(test_spher_polyline_area PRIVATE spher_polyline_area.f90) ...@@ -13,7 +13,7 @@ target_sources(test_spher_polyline_area PRIVATE spher_polyline_area.f90)
target_sources(inst_eddies PRIVATE spher_polyline_area.f90 target_sources(inst_eddies PRIVATE spher_polyline_area.f90
derived_types.f90 shpc_close.f90 shpc_open.f90 derived_types.f90 shpc_close.f90 shpc_open.f90
get_slice_dir.f90 read_field_indices.f90) get_slice_dir.f90 read_field_indices.f90)
target_sources(test_write_eddy PRIVATE derived_types.f90 shpc_open.f90 target_sources(test_write_null PRIVATE derived_types.f90 shpc_open.f90
shpc_close.f90 read_field_indices.f90 get_slice_dir.f90) shpc_close.f90 read_field_indices.f90 get_slice_dir.f90)
if(MPI_Fortran_HAVE_F08_MODULE) if(MPI_Fortran_HAVE_F08_MODULE)
......
...@@ -35,4 +35,4 @@ target_sources(test_local_extrema PRIVATE local_extrema.f90) ...@@ -35,4 +35,4 @@ target_sources(test_local_extrema PRIVATE local_extrema.f90)
target_sources(test_set_max_speed PRIVATE set_max_speed.f90 good_contour.f90 target_sources(test_set_max_speed PRIVATE set_max_speed.f90 good_contour.f90
max_speed_contour_ssh.f90 mean_speed.f90 inside_4.f90 get_var.f90 config.f90 max_speed_contour_ssh.f90 mean_speed.f90 inside_4.f90 get_var.f90 config.f90
input_ssh.f90 shpc_create.f90 ccw_orient.f90 write_eddy.f90) input_ssh.f90 shpc_create.f90 ccw_orient.f90 write_eddy.f90)
target_sources(test_write_eddy PRIVATE shpc_create.f90) target_sources(test_write_null PRIVATE shpc_create.f90)
...@@ -3,38 +3,38 @@ ...@@ -3,38 +3,38 @@
"title": "Medium_mix", "title": "Medium_mix",
"description": "Append to medium-sized SHPC, mixing output to the three shapefiles.", "description": "Append to medium-sized SHPC, mixing output to the three shapefiles.",
"input": "&main_nml /\n", "input": "&main_nml /\n",
"command" : ["time", "$build_dir/Inst_eddies/Tests/test_write_eddy"], "command" : ["time", "$build_dir/Inst_eddies/Tests/test_write_null"],
"copy": [["$PWD/n_dates_14", "SHPC"]], "copy": [["$PWD/n_dates_14", "SHPC"]],
"stdout": "test_write_eddy_stdout.txt", "stdout": "test_write_null_stdout.txt",
"exclude_cmp": ["test_write_eddy_stderr.txt"] "exclude_cmp": ["test_write_null_stderr.txt"]
}, },
{ {
"title": "Small_mix", "title": "Small_mix",
"description": "Append to small SHPC, mixing output to the three shapefiles.", "description": "Append to small SHPC, mixing output to the three shapefiles.",
"input": "&main_nml /\n", "input": "&main_nml /\n",
"command" : ["time", "$build_dir/Inst_eddies/Tests/test_write_eddy"], "command" : ["time", "$build_dir/Inst_eddies/Tests/test_write_null"],
"copy": [["$PWD/n_dates_1", "SHPC"]], "copy": [["$PWD/n_dates_1", "SHPC"]],
"stdout": "test_write_eddy_stdout.txt", "stdout": "test_write_null_stdout.txt",
"exclude_cmp": ["test_write_eddy_stderr.txt"] "exclude_cmp": ["test_write_null_stderr.txt"]
}, },
{ {
"title": "Medium_sep", "title": "Medium_sep",
"description": "Append to medium-sized SHPC, separating output to the three shapefiles.", "description": "Append to medium-sized SHPC, separating output to the three shapefiles.",
"input": "&main_nml mixed = f/\n", "input": "&main_nml mixed = f/\n",
"command" : ["time", "$build_dir/Inst_eddies/Tests/test_write_eddy"], "command" : ["time", "$build_dir/Inst_eddies/Tests/test_write_null"],
"copy": [["$PWD/n_dates_14", "SHPC"]], "copy": [["$PWD/n_dates_14", "SHPC"]],
"stdout": "test_write_eddy_stdout.txt", "stdout": "test_write_null_stdout.txt",
"exclude_cmp": ["test_write_eddy_stderr.txt"] "exclude_cmp": ["test_write_null_stderr.txt"]
}, },
{ {
"title": "Small_sep", "title": "Small_sep",
"description": "Append to small SHPC, separating output to the three shapefiles.", "description": "Append to small SHPC, separating output to the three shapefiles.",
"input": "&main_nml mixed = f/\n", "input": "&main_nml mixed = f/\n",
"command" : ["time", "$build_dir/Inst_eddies/Tests/test_write_eddy"], "command" : ["time", "$build_dir/Inst_eddies/Tests/test_write_null"],
"copy": [["$PWD/n_dates_1", "SHPC"]], "copy": [["$PWD/n_dates_1", "SHPC"]],
"stdout": "test_write_eddy_stdout.txt", "stdout": "test_write_null_stdout.txt",
"exclude_cmp": ["test_write_eddy_stderr.txt"] "exclude_cmp": ["test_write_null_stderr.txt"]
}, },
{ {
"title": "Create_mix", "title": "Create_mix",
...@@ -43,10 +43,10 @@ ...@@ -43,10 +43,10 @@
"commands" : "commands" :
[ [
["mkdir", "-p", "SHPC/Slice_0/Cyclones"], ["mkdir", "-p", "SHPC/Slice_0/Cyclones"],
["time", "$build_dir/Inst_eddies/Tests/test_write_eddy"] ["time", "$build_dir/Inst_eddies/Tests/test_write_null"]
], ],
"stdout": "test_write_eddy_stdout.txt", "stdout": "test_write_null_stdout.txt",
"exclude_cmp": ["test_write_eddy_stderr.txt"] "exclude_cmp": ["test_write_null_stderr.txt"]
}, },
{ {
"title": "Create_sep", "title": "Create_sep",
...@@ -55,27 +55,27 @@ ...@@ -55,27 +55,27 @@
"commands" : "commands" :
[ [
["mkdir", "-p", "SHPC/Slice_0/Cyclones"], ["mkdir", "-p", "SHPC/Slice_0/Cyclones"],
["time", "$build_dir/Inst_eddies/Tests/test_write_eddy"] ["time", "$build_dir/Inst_eddies/Tests/test_write_null"]
], ],
"stdout": "test_write_eddy_stdout.txt", "stdout": "test_write_null_stdout.txt",
"exclude_cmp": ["test_write_eddy_stderr.txt"] "exclude_cmp": ["test_write_null_stderr.txt"]
}, },
{ {
"title": "Big_mix", "title": "Big_mix",
"description": "Append to big SHPC, mixing output to the three shapefiles.", "description": "Append to big SHPC, mixing output to the three shapefiles.",
"input": "&main_nml /\n", "input": "&main_nml /\n",
"command" : ["time", "$build_dir/Inst_eddies/Tests/test_write_eddy"], "command" : ["time", "$build_dir/Inst_eddies/Tests/test_write_null"],
"copy": ["$PWD/Inst_eddies_9/SHPC"], "copy": ["$PWD/Inst_eddies_9/SHPC"],
"stdout": "test_write_eddy_stdout.txt", "stdout": "test_write_null_stdout.txt",
"exclude_cmp": ["test_write_eddy_stderr.txt"] "exclude_cmp": ["test_write_null_stderr.txt"]
}, },
{ {
"title": "Big_sep", "title": "Big_sep",
"description": "Append to big SHPC, separating output to the three shapefiles.", "description": "Append to big SHPC, separating output to the three shapefiles.",
"input": "&main_nml mixed = f/\n", "input": "&main_nml mixed = f/\n",
"command" : ["time", "$build_dir/Inst_eddies/Tests/test_write_eddy"], "command" : ["time", "$build_dir/Inst_eddies/Tests/test_write_null"],
"copy": ["$PWD/Inst_eddies_9/SHPC"], "copy": ["$PWD/Inst_eddies_9/SHPC"],
"stdout": "test_write_eddy_stdout.txt", "stdout": "test_write_null_stdout.txt",
"exclude_cmp": ["test_write_eddy_stderr.txt"] "exclude_cmp": ["test_write_null_stderr.txt"]
} }
] ]
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment