Skip to content

Commit 853b784

Browse files
committed
use tests layout
1 parent 5105d06 commit 853b784

15 files changed

+3
-3
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ DESTINATION cmake
8181
add_subdirectory(src)
8282

8383
if(${PROJECT_NAME}_BUILD_TESTING)
84-
add_subdirectory(src/tests)
84+
add_subdirectory(tests)
8585
endif()
8686

8787
include(cmake/pkgconf.cmake)

meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,5 @@ netcdf_interface = declare_dependency(link_with: oonc, dependencies: netcdf)
3535

3636
# --- testing
3737
if not meson.is_subproject()
38-
subdir('src/tests')
38+
subdir('tests')
3939
endif
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

src/tests/test_error.f90 renamed to tests/test_error.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
program test_errors
22
use, intrinsic:: iso_fortran_env, only: int64, int32, real32, real64, stderr=>error_unit
3-
use nc4fortran, only: netcdf_file, NF90_NOERR
3+
use nc4fortran, only: netcdf_file
44

55
implicit none (type, external)
66

File renamed without changes.

0 commit comments

Comments
 (0)