From b41ea8e08f8525b6bcb93fc6cf68482f7dd3edc0 Mon Sep 17 00:00:00 2001 From: Federico Perini Date: Thu, 6 Jun 2024 22:48:19 +0200 Subject: [PATCH 1/2] run all tests with user-specified runner --- src/fpm.f90 | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/fpm.f90 b/src/fpm.f90 index b162ff2827..b6156e3bf3 100644 --- a/src/fpm.f90 +++ b/src/fpm.f90 @@ -551,9 +551,7 @@ subroutine cmd_run(settings,test) toomany= size(settings%name)==0 .and. size(executables)>1 if ( any(.not.found) & & .or. & - & ( (toomany .and. .not.test) .or. (toomany .and. settings%runner /= '') ) & - & .and. & - & .not.settings%list) then + & (toomany .and. .not.test) .and. .not. settings%list) then line=join(settings%name) if(line/='.')then ! do not report these special strings if(any(.not.found))then From c305d12696a897aea5ca7518a82f2971e2d8155f Mon Sep 17 00:00:00 2001 From: Federico Perini Date: Sun, 9 Jun 2024 08:27:41 +0200 Subject: [PATCH 2/2] do not restrict dumping `available names` to `run` only --- src/fpm.f90 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fpm.f90 b/src/fpm.f90 index b6156e3bf3..b23fee95d6 100644 --- a/src/fpm.f90 +++ b/src/fpm.f90 @@ -551,7 +551,7 @@ subroutine cmd_run(settings,test) toomany= size(settings%name)==0 .and. size(executables)>1 if ( any(.not.found) & & .or. & - & (toomany .and. .not.test) .and. .not. settings%list) then + & (toomany .and. .not. settings%list) ) then line=join(settings%name) if(line/='.')then ! do not report these special strings if(any(.not.found))then