Skip to content

Commit

Permalink
resolve missing module functions
Browse files Browse the repository at this point in the history
  • Loading branch information
freevryheid committed Apr 20, 2022
1 parent fba9dfb commit c5b95d5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
3 changes: 2 additions & 1 deletion src/fpm.f90
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
module fpm
use fpm_strings, only: string_t, operator(.in.), glob, join, string_cat, fnv_1a, lower
use fpm_strings, only: string_t, operator(.in.), glob, join, string_cat, fnv_1a, &
lower, str_ends_with
use fpm_backend, only: build_package
use fpm_command_line, only: fpm_build_settings, fpm_new_settings, &
fpm_run_settings, fpm_install_settings, fpm_test_settings, &
Expand Down
11 changes: 2 additions & 9 deletions test/fpm_test/test_filesystem.f90
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
module test_filesystem
use testsuite, only : new_unittest, unittest_t, error_t, test_failed
use fpm_filesystem, only: canon_path, is_dir, mkdir, os_delete_dir
use fpm_filesystem, only: canon_path, is_dir, mkdir, os_delete_dir, &
join_path
use fpm_environment, only: OS_WINDOWS, get_os_type, os_is_unix
implicit none
private
Expand Down Expand Up @@ -110,17 +111,9 @@ subroutine test_mkdir_rmdir(error)
!> Error handling
type(error_t), allocatable, intent(out) :: error


call check_mkdir(error, join_path("tmpdir","subdir"))
if (allocated(error)) return

if (is_win) then
call check_rmdir(error, "tmpdir\subdir")
else
call check_rmdir(error, "tmpdir/subdir")
end if
if (allocated(error)) return

call check_rmdir(error, "tmpdir")
if (allocated(error)) return

Expand Down

0 comments on commit c5b95d5

Please sign in to comment.