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)
486486 integer :: run_scope,firsterror
487487 integer , allocatable :: stat(:),target_ID(:)
488488 character (len= :),allocatable :: line
489- logical :: toomany
490489
491490 call get_package_data(package, " fpm.toml" , error, apply_defaults= .true. )
492491 if (allocated (error)) then
@@ -547,11 +546,8 @@ subroutine cmd_run(settings,test)
547546 end if
548547
549548 ! 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
555551 line= join(settings% name)
556552 if (line/= ' .' )then ! do not report these special strings
557553 if (any (.not. found))then
You can’t perform that action at this time.
0 commit comments