Skip to content

Commit 413073f

Browse files
committed
Revert "add runner_command function"
This reverts commit 8485e94.
1 parent 4a515eb commit 413073f

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

src/fpm_command_line.f90

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,6 @@ module fpm_command_line
9191
character(len=:),allocatable :: args
9292
character(len=:),allocatable :: runner
9393
logical :: example
94-
contains
95-
procedure :: runner_command
9694
end type
9795

9896
type, extends(fpm_run_settings) :: fpm_test_settings
@@ -1432,21 +1430,4 @@ function get_fpm_env(env, default) result(val)
14321430
val = get_env(fpm_prefix//env, default)
14331431
end function get_fpm_env
14341432

1435-
!> Build a full runner command (executable + command-line arguments)
1436-
function runner_command(cmd) result(run_cmd)
1437-
class(fpm_run_settings), intent(in) :: cmd
1438-
character(len=:), allocatable :: run_cmd
1439-
1440-
!> Get executable
1441-
if (len_trim(cmd%runner)>0) then
1442-
run_cmd = trim(cmd%runner)
1443-
else
1444-
run_cmd = ''
1445-
end if
1446-
1447-
!> Append command-line arguments
1448-
if (len_trim(cmd%runner_args)>0) run_cmd = run_cmd//' '//trim(cmd%runner_args)
1449-
1450-
end function runner_command
1451-
14521433
end module fpm_command_line

0 commit comments

Comments
 (0)