From 180d8d668317ca8fe9613579ae67cf52a02a2e50 Mon Sep 17 00:00:00 2001 From: arteevraina Date: Sat, 2 Apr 2022 18:40:48 +0530 Subject: [PATCH] fix: remove extra space from help-test cmd --- test/help_test/help_test.f90 | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/test/help_test/help_test.f90 b/test/help_test/help_test.f90 index 4f23bcb830..fbe6c21fb3 100644 --- a/test/help_test/help_test.f90 +++ b/test/help_test/help_test.f90 @@ -22,18 +22,18 @@ 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',& -' --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',& +'--version >> fpm_scratch_help.txt',& ! generate manual ' help manual > fpm_scratch_manual.txt'] @@ -105,7 +105,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))')'CMD=',path,' EXITSTAT=',estat,' CMDSTAT=',cstat,' MESSAGE=',trim(message) tally=[tally,all([estat.eq.0,cstat.eq.0])]