Skip to content

Commit c5b95d5

Browse files
committed
resolve missing module functions
1 parent fba9dfb commit c5b95d5

File tree

2 files changed

+4
-10
lines changed

2 files changed

+4
-10
lines changed

src/fpm.f90

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
module fpm
2-
use fpm_strings, only: string_t, operator(.in.), glob, join, string_cat, fnv_1a, lower
2+
use fpm_strings, only: string_t, operator(.in.), glob, join, string_cat, fnv_1a, &
3+
lower, str_ends_with
34
use fpm_backend, only: build_package
45
use fpm_command_line, only: fpm_build_settings, fpm_new_settings, &
56
fpm_run_settings, fpm_install_settings, fpm_test_settings, &

test/fpm_test/test_filesystem.f90

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
module test_filesystem
22
use testsuite, only : new_unittest, unittest_t, error_t, test_failed
3-
use fpm_filesystem, only: canon_path, is_dir, mkdir, os_delete_dir
3+
use fpm_filesystem, only: canon_path, is_dir, mkdir, os_delete_dir, &
4+
join_path
45
use fpm_environment, only: OS_WINDOWS, get_os_type, os_is_unix
56
implicit none
67
private
@@ -110,17 +111,9 @@ subroutine test_mkdir_rmdir(error)
110111
!> Error handling
111112
type(error_t), allocatable, intent(out) :: error
112113

113-
114114
call check_mkdir(error, join_path("tmpdir","subdir"))
115115
if (allocated(error)) return
116116

117-
if (is_win) then
118-
call check_rmdir(error, "tmpdir\subdir")
119-
else
120-
call check_rmdir(error, "tmpdir/subdir")
121-
end if
122-
if (allocated(error)) return
123-
124117
call check_rmdir(error, "tmpdir")
125118
if (allocated(error)) return
126119

0 commit comments

Comments
 (0)