Skip to content

Commit

Permalink
Merge pull request #686 from arteevraina/space-help-cmd-test
Browse files Browse the repository at this point in the history
fix: remove extra space from help-test cmd
  • Loading branch information
LKedward authored Jun 12, 2022
2 parents 6e43cdb + eee91f0 commit a5f039e
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions test/help_test/help_test.f90
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,19 @@ program help_test
character(len=*),parameter :: cmds(*) = [character(len=80) :: &
! build manual as pieces using various help commands
! debug version
' --version ',& ! verify fpm version being used
' --help > fpm_scratch_help.txt',&
' help new >> fpm_scratch_help.txt',&
' help update >> fpm_scratch_help.txt',&
' build --help >> fpm_scratch_help.txt',&
' help run >> fpm_scratch_help.txt',&
' help test >> fpm_scratch_help.txt',&
' help runner >> fpm_scratch_help.txt',&
' help install >> fpm_scratch_help.txt',&
' help list >> fpm_scratch_help.txt',&
' help help >> fpm_scratch_help.txt',&
' help clean >> fpm_scratch_help.txt',&
' --version >> fpm_scratch_help.txt',&
'--version ',& ! verify fpm version being used
'--help > fpm_scratch_help.txt',&
'help new >> fpm_scratch_help.txt',&
'help update >> fpm_scratch_help.txt',&
'build --help >> fpm_scratch_help.txt',&
'help run >> fpm_scratch_help.txt',&
'help test >> fpm_scratch_help.txt',&
'help runner >> fpm_scratch_help.txt',&
'help install >> fpm_scratch_help.txt',&
'help list >> fpm_scratch_help.txt',&
'help help >> fpm_scratch_help.txt',&
'help clean >> fpm_scratch_help.txt',&
'--version >> fpm_scratch_help.txt',&
! generate manual
' help manual > fpm_scratch_manual.txt']

Expand Down Expand Up @@ -106,7 +106,7 @@ program help_test
! execute the fpm(1) commands
do i=1,size(cmds)
message=''
path= prog // cmds(i)
path= prog //' '//cmds(i)
call execute_command_line(path,exitstat=estat,cmdstat=cstat,cmdmsg=message)
write(*,'(*(g0))')'<INFO>CMD=',path,' EXITSTAT=',estat,' CMDSTAT=',cstat,' MESSAGE=',trim(message)
tally=[tally,all([estat.eq.0,cstat.eq.0])]
Expand Down

0 comments on commit a5f039e

Please sign in to comment.