Return whether the settings correspond to fpm run or fpm test.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(fpm_build_settings), | intent(in) | :: | settings |
logical function is_run_or_test(settings) class(fpm_build_settings), intent(in) :: settings is_run_or_test = .false. select type (settings) type is (fpm_test_settings) is_run_or_test = .true. type is (fpm_run_settings) is_run_or_test = .true. end select end function is_run_or_test