# Copyright (c) 2025 The YAC Authors
#
# SPDX-License-Identifier: BSD-3-Clause

set(YAC_TEST_DEFAULT_LABELS "python")
set(srcdir ${CMAKE_CURRENT_SOURCE_DIR})

yac_add_test(NAME test_core_grids)
yac_add_test(NAME test_core)
yac_add_test(NAME test_coroutines)
yac_add_test(NAME test_interp_method_config)
yac_add_test(NAME test_coupling1 MPI_PROCS 4)
yac_add_test(NAME test_interface MPI_PROCS 2)
yac_add_test(NAME test_multithreading_python MPI_PROCS 2)
yac_add_test(NAME test_nc2plot_parallel MPI_PROCS 2)
yac_add_test(NAME test_nc2plot)
yac_add_test(NAME test_noise2nc_parallel MPI_PROCS 2)
yac_add_test(NAME test_noise2nc)
yac_add_test(NAME test_noise2plot_parallel MPI_PROCS 2)
yac_add_test(NAME test_noise2plot)
yac_add_test(NAME test_raw_exchange)
yac_add_test(NAME test_record_replay MPI_PROCS 2)

set_tests_properties(test_nc2plot PROPERTIES DEPENDS test_noise2nc)

set_tests_properties(
  test_nc2plot_parallel PROPERTIES DEPENDS test_noise2nc_parallel
)
