aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Hirsch, Ph.D <scivision@users.noreply.github.com>2019-06-19 21:52:24 -0400
committerMichael Hirsch, Ph.D <scivision@users.noreply.github.com>2019-06-19 21:52:24 -0400
commitd3294b58c4b61601bde01fa250f5f1485a3ff0b8 (patch)
tree9393c7b2989adcaf4b5e175644f2d9140d3ffcae
parentf7465c0887e52ebedb024745d504bf95f113ae0d (diff)
downloadmeson-d3294b58c4b61601bde01fa250f5f1485a3ff0b8.zip
meson-d3294b58c4b61601bde01fa250f5f1485a3ff0b8.tar.gz
meson-d3294b58c4b61601bde01fa250f5f1485a3ff0b8.tar.bz2
make test more stringent by building separate library
-rw-r--r--test cases/fortran/2 modules/meson.build5
1 files changed, 4 insertions, 1 deletions
diff --git a/test cases/fortran/2 modules/meson.build b/test cases/fortran/2 modules/meson.build
index 7893551..fb58b9d 100644
--- a/test cases/fortran/2 modules/meson.build
+++ b/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)