Commit Graph

8 Commits

Author SHA1 Message Date
Rohit Goswami 4e41a6203f tests: Fix fortran tests 2021-09-20 01:29:59 -04:00
Michael Hirsch, Ph.D 1baa1c9222 use '-Werror=unused-parameter' for gcc/clang on project tests and -fimplicit-none on fortran
Fortran: check for undeclared variables by forcing implicit none everywhere
C/C++: check for unused parameters and return types

removed unused variables from test cases

ci: do missing return and unused arg check with Github Actions
2019-11-17 13:24:42 +02:00
Dylan Baker 7f1cecf25b compilers/fortran: Fix all has_argument methods in meson
Apparently we have no tests for this because this is broken pretty
badly. This extends the basic test to actually check for the correct
free-form argument and thus test this.
2019-05-16 22:01:35 +03:00
Dylan Baker 0dc88487dd tests/fortran/1: call compiler.get_id() == str instead of compiler == str 2019-05-10 13:36:35 -07:00
Michael Hirsch, Ph.D 8636f31d9c BUGFIX: broken/missing Fortran code/unit tests 2019-01-27 20:57:21 +02:00
Nirbheek Chauhan 2589009d23 ifort: Derive from IntelCompiler base class
And fix the list of supported file suffixes, and use .f90 for all
fortran tests since ifort, the Intel Fortran compiler ignores files
ending with .f95, .f03, and .f08
2017-01-04 00:41:56 +05:30
Jussi Pakkanen 98c4fd2d5d Add per target argument for Fortran. 2016-12-20 22:46:36 +02:00
Jussi Pakkanen a77551f3d7 Basic Fortran support. 2014-08-01 16:25:29 +03:00