Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,10 @@ if(HAVE_PYTHON_ZARR_INTERFACE OR HAVE_PYTHON_FDB_INTERFACE)
find_package(Python 3.11 COMPONENTS Interpreter Development REQUIRED)
endif()

ecbuild_add_option( FEATURE PYTHON_EXTENDED_FDB_TOOL_TESTS
DESCRIPTION "Build extendend fdb tool tests"
CONDITION HAVE_PYTHON_FDB_INTERFACE
DEFAULT OFF)

### build the tools

Expand Down
22 changes: 22 additions & 0 deletions pytest.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
[pytest]
addopts = ["-p no:doctest"]

markers = [
"files: Test the files setup of FDB tool.",
"simple: Test the simple setup of FDB tool.",
"yaml: Test the yaml config setup of FDB tool.",
"yaml_mars_disks: Test the yaml mars disks config setup of FDB tool.",
"yaml_tools: Test the yaml tools config setup of FDB tool.",
"json: Test the json config setup of FDB tool.",
"json_tools: Test the json tools config setup of FDB tool.",
"info: Test the corresponding FDB tool.",
"hide: Test the corresponding FDB tool.",
"list: Test the corresponding FDB tool.",
"read: Test the corresponding FDB tool.",
"root: Test the corresponding FDB tool.",
"wipe: Test the corresponding FDB tool.",
"purge: Test the corresponding FDB tool.",
"write: Test the corresponding FDB tool.",
"overlay: Test the corresponding FDB tool.",
"grib2fdb: Test the corresponding FDB tool."
]
Comment thread
tbkr marked this conversation as resolved.
1 change: 1 addition & 0 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,5 @@ endif()

if (HAVE_PYTHON_FDB_INTERFACE)
add_subdirectory( pyfdb )
add_subdirectory( fdb_e2e )
endif()
1 change: 1 addition & 0 deletions tests/fdb_e2e/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
add_subdirectory( tool_tests )
Loading
Loading