Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: remove extra space from help-test cmd #686

Merged
merged 2 commits into from
Jun 12, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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