Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
cleanup
  • Loading branch information
perazz committed Jul 4, 2023
1 parent 826b182 commit 3df03c2
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion src/fpm.f90
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,6 @@ subroutine build_model(model, settings, package, error)
end if

!> Add this dependency's package-level macros
print *, 'dep preprocess? ',allocated(dep%preprocess),' nam,e=',dep%name
if (allocated(dep%preprocess)) then
do j = 1, size(dep%preprocess)
if (dep%preprocess(j)%name == "cpp") then
Expand Down
3 changes: 0 additions & 3 deletions src/fpm/manifest/dependency.f90
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,8 @@ subroutine new_dependency(self, table, root, error)

!> Get optional preprocessor directives
call get_value(table, "preprocess", child, requested=.false.)
print *, 'has preprocess? ',associated(child)
if (associated(child)) then
call new_preprocessors(self%preprocess, child, error)
print *, 'size preprocess ',size(self%preprocess),' error? =',allocated(error)
if (allocated(error)) return
endif

Expand Down Expand Up @@ -292,7 +290,6 @@ subroutine new_dependencies(deps, table, root, meta, error)
! Parse as a standard dependency
is_meta(idep) = .false.

print *, 'new dependency ',all_deps(idep)%name
call new_dependency(all_deps(idep), node, root, error)
if (allocated(error)) return

Expand Down
1 change: 0 additions & 1 deletion test/fpm_test/test_package_dependencies.f90
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,6 @@ subroutine test_non_updated_dependencies(error)
return
end if


! Test that dependency 3 is flagged as "not update"
if (manifest_deps%dep(3)%update) then
call test_failed(error, "Updated dependency (git rev) detected, should not be")
Expand Down

0 comments on commit 3df03c2

Please sign in to comment.