Skip to content

Commit

Permalink
use tests layout
Browse files Browse the repository at this point in the history
  • Loading branch information
scivision committed Jan 27, 2022
1 parent 5105d06 commit 853b784
Show file tree
Hide file tree
Showing 15 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ DESTINATION cmake
add_subdirectory(src)

if(${PROJECT_NAME}_BUILD_TESTING)
add_subdirectory(src/tests)
add_subdirectory(tests)
endif()

include(cmake/pkgconf.cmake)
Expand Down
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@ netcdf_interface = declare_dependency(link_with: oonc, dependencies: netcdf)

# --- testing
if not meson.is_subproject()
subdir('src/tests')
subdir('tests')
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.
2 changes: 1 addition & 1 deletion src/tests/test_error.f90 → tests/test_error.f90
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
program test_errors
use, intrinsic:: iso_fortran_env, only: int64, int32, real32, real64, stderr=>error_unit
use nc4fortran, only: netcdf_file, NF90_NOERR
use nc4fortran, only: netcdf_file

implicit none (type, external)

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 853b784

Please sign in to comment.