From 1472f419ea14850cf0e3b01a72e66e67a1bccdf1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C3=A1lint=20Aradi?= Date: Sat, 13 May 2017 21:41:46 +0200 Subject: [PATCH] Fix fortran tests without test() calls --- test cases/fortran/5 static/meson.build | 3 ++- test cases/fortran/6 dynamic/meson.build | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/test cases/fortran/5 static/meson.build b/test cases/fortran/5 static/meson.build index bd74a2990..ab9d3c4b4 100644 --- a/test cases/fortran/5 static/meson.build +++ b/test cases/fortran/5 static/meson.build @@ -2,4 +2,5 @@ project('try-static-library', 'fortran') static_hello = static_library('static_hello', 'static_hello.f90') -executable('test_exe', 'main.f90', link_with : static_hello) +exe = executable('test_exe', 'main.f90', link_with : static_hello) +test('static-fortran', exe) diff --git a/test cases/fortran/6 dynamic/meson.build b/test cases/fortran/6 dynamic/meson.build index c791dac9f..e5e259fc8 100644 --- a/test cases/fortran/6 dynamic/meson.build +++ b/test cases/fortran/6 dynamic/meson.build @@ -1,4 +1,5 @@ project('dynamic_fortran', 'fortran') dynamic = shared_library('dynamic', 'dynamic.f90') -executable('test_exe', 'main.f90', link_with : dynamic) +exe = executable('test_exe', 'main.f90', link_with : dynamic) +test('dynamic-fortran', exe)