Skip to content

Commit

Permalink
turned on test_params_grib2_tbl_new (#131)
Browse files Browse the repository at this point in the history
* turned on test_params_grib2_tbl_new

* fixed test

* minor fix
  • Loading branch information
edwardhartnett authored Apr 19, 2024
1 parent 677b1bb commit a42285b
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 1,285 deletions.
6 changes: 6 additions & 0 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ function(g2tmpl_test name)
add_test(NAME ${name} COMMAND ${name})
endfunction()

# Copy the param file to test directory for test to find.
set(PARAM_FILE params_grib2_tbl_new)
message(STATUS "Copying file ${CMAKE_SOURCE_DIR}/src/${PARAM_FILE} to test directory.")
FILE(COPY ${CMAKE_SOURCE_DIR}/src/${PARAM_FILE} DESTINATION ${CMAKE_CURRENT_BINARY_DIR})

# The tests.
g2tmpl_test(test_g2tmpl_pdt4_1)
g2tmpl_test(test_g2tmpl_pdt4_8)
Expand All @@ -20,5 +25,6 @@ g2tmpl_test(test_g2tmpl_pdt4_12)
g2tmpl_test(test_g2tmpl_pdt4_46)
g2tmpl_test(test_all_key_tables)
g2tmpl_test(test_all_table_other)
g2tmpl_test(test_params_grib2_tbl_new)


Loading

0 comments on commit a42285b

Please sign in to comment.