9#include "test_macros.inc"
13 use,
INTRINSIC :: iso_c_binding
18 CHARACTER(LEN=1024) :: grid_dir
21 FUNCTION yac_file_exists_c ( path ) bind ( c, name='yac_file_exists' )
22 use,
INTRINSIC :: iso_c_binding, only : c_char, c_int
23 CHARACTER(KIND=c_char),
DIMENSION(*) :: path
24 INTEGER(KIND=c_int) :: yac_file_exists_c
25 END FUNCTION yac_file_exists_c
32 CALL test(command_argument_count() == 1)
34 IF (command_argument_count() /= 1)
THEN
35 print *,
"ERROR: missing grid file directory"
39 CALL get_command_argument(1, grid_dir)
44 trim(grid_dir)//
"icon_grid_0030_R02B03_G.nc"//c_null_char))
THEN
53 TYPE(c_ptr) :: icon_grid
57 trim(grid_dir)//
"icon_grid_0030_R02B03_G.nc"//c_null_char, &
subroutine, public start_test(name)
subroutine, public stop_test()
subroutine, public exit_tests()