Skip to content

Commit 3a31380

Browse files
committed
remove testing bloatware
1 parent d9db9db commit 3a31380

File tree

2 files changed

+2
-16
lines changed

2 files changed

+2
-16
lines changed

ci/run_tests.sh

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -217,19 +217,13 @@ test $EXIT_CODE -eq 0
217217
# Build again, should update nothing
218218
"$fpm" build --verbose > build.log
219219
if [[ -n "$(grep Update build.log)" ]]; then
220-
221-
cat build.log;
222-
223220
echo "Some dependencies were updated that should not be";
224221
exit 1;
225222
fi
226223

227-
# Request update, should update oth
224+
# Request update --clean, should update all dependencies
228225
"$fpm" update --clean --verbose > update.log
229226
if [[ -z "$(grep Update update.log)" ]]; then
230-
231-
cat update.log;
232-
233227
echo "No updated dependencies after 'fpm update --clean'";
234228
exit 1;
235229
fi

src/fpm/dependency.f90

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ subroutine add_project(self, package, error)
310310

311311
! After resolving all dependencies, check if we have cached ones to avoid updates
312312
if (allocated(self%cache)) then
313-
call new_dependency_tree(cached, verbosity=2,cache=self%cache)
313+
call new_dependency_tree(cached, verbosity=self%verbosity,cache=self%cache)
314314
call cached%load(self%cache, error)
315315
if (allocated(error)) return
316316

@@ -602,10 +602,6 @@ subroutine resolve_dependency(self, dependency, global_settings, root, error)
602602
call get_package_data(package, manifest, error)
603603
if (allocated(error)) return
604604

605-
print *, 'dependency',dependency%name,': fetch=',fetch,' allocated(git)=',allocated(dependency%git)
606-
print *, ' proj_dir=',proj_dir,' fetch=',fetch
607-
608-
609605
call dependency%register(package, proj_dir, fetch, revision, error)
610606
if (allocated(error)) return
611607

@@ -961,10 +957,6 @@ subroutine register(self, package, root, fetch, revision, error)
961957
if (update) self%update = update
962958
self%done = .true.
963959

964-
print *, 'register: set '//self%name//' for update, has revision? ',present(revision),&
965-
' fetch? ',fetch,' set update? ',self%update
966-
if (present(revision)) print *, ' git object=',self%git%object,' revision=',revision
967-
968960
end subroutine register
969961

970962
!> Read dependency tree from file

0 commit comments

Comments
 (0)