File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -486,7 +486,6 @@ subroutine cmd_run(settings,test)
486
486
integer :: run_scope,firsterror
487
487
integer , allocatable :: stat(:),target_ID(:)
488
488
character (len= :),allocatable :: line
489
- logical :: toomany
490
489
491
490
call get_package_data(package, " fpm.toml" , error, apply_defaults= .true. )
492
491
if (allocated (error)) then
@@ -547,11 +546,8 @@ subroutine cmd_run(settings,test)
547
546
end if
548
547
549
548
! Check all names are valid
550
- ! or no name and found more than one file
551
- toomany= size (settings% name)==0 .and. size (executables)>1
552
- if ( any (.not. found) &
553
- & .or. &
554
- & (toomany .and. .not. test) .and. .not. settings% list) then
549
+ ! or no name and found more than one file
550
+ if ( any (.not. found) ) then
555
551
line= join(settings% name)
556
552
if (line/= ' .' )then ! do not report these special strings
557
553
if (any (.not. found))then
You can’t perform that action at this time.
0 commit comments