Skip to content

Commit c904687

Browse files
committed
bugfix: manifest test failure
1 parent 41a6688 commit c904687

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/fpm_compiler.F90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ module fpm_compiler
5252
implicit none
5353
public :: compiler_t, new_compiler, archiver_t, new_archiver, get_macros
5454
public :: append_clean_flags, append_clean_flags_array
55-
public :: debug
55+
public :: debug, id_gcc
5656

5757
enum, bind(C)
5858
enumerator :: &

test/fpm_test/test_manifest.f90

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1414,7 +1414,7 @@ end subroutine test_preprocessors_empty
14141414

14151415
!> Test macro parsing function get_macros_from_manifest
14161416
subroutine test_macro_parsing(error)
1417-
use fpm_compiler, only: get_macros, compiler_enum
1417+
use fpm_compiler, only: get_macros, compiler_enum, id_gcc
14181418

14191419
!> Error handling
14201420
type(error_t), allocatable, intent(out) :: error
@@ -1423,6 +1423,8 @@ subroutine test_macro_parsing(error)
14231423
character(:), allocatable :: temp_file
14241424
integer :: unit
14251425
integer(compiler_enum) :: id
1426+
1427+
id = id_gcc
14261428

14271429
allocate(temp_file, source=get_temp_filename())
14281430

0 commit comments

Comments
 (0)