make test more stringent by building separate library

pull/5516/head
Michael Hirsch, Ph.D 6 years ago
parent f7465c0887
commit d3294b58c4
  1. 5
      test cases/fortran/2 modules/meson.build

@ -1,4 +1,7 @@
project('modules', 'fortran')
e = executable('modprog', 'mymod.f90', 'prog.f90', 'comment_mod.f90')
commented = library('commented', 'comment_mod.f90')
e = executable('modprog', 'mymod.f90', 'prog.f90',
link_with: commented)
test('moduletest', e)

Loading…
Cancel
Save