Skip to content

Commit 88389c9

Browse files
committed
debugging mingw
1 parent 7604736 commit 88389c9

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

fpm/test/help_test/help_test.f90

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ program help_test
1515
! run a variety of "fpm help" variations and verify expected files are generated
1616
character(len=*),parameter :: cmds(*) = [character(len=80) :: &
1717
! build manual as pieces using various help commands
18+
'fpm run -- --version ',& ! verify fpm version being used
1819
'fpm run -- --help > fpm_scratch_help.txt',&
1920
'fpm run -- help new >> fpm_scratch_help.txt',&
2021
'fpm run -- build --help >> fpm_scratch_help.txt',&
@@ -247,8 +248,13 @@ function page(array) result (table)
247248
if(allocated(table))deallocate(table)
248249
!intel-bug!allocate(character(len=linelength) :: table(lines))
249250
allocate(character(len=132) :: table(lines))
251+
!!-----------------------------------------------------------
250252
table=' '
251-
253+
!!possible bug in mingw. null filled instead of space padded?
254+
do i=1,lines
255+
table(i)=repeat(' ',len(table))
256+
enddo
257+
!!-----------------------------------------------------------
252258
linecount=1
253259
position=1
254260
do i=1,sz

0 commit comments

Comments
 (0)