make test more stringent by building separate library
This commit is contained in:
parent
f7465c0887
commit
d3294b58c4
|
@ -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…
Reference in New Issue