aboutsummaryrefslogtreecommitdiff
path: root/test cases/fortran
AgeCommit message (Collapse)AuthorFilesLines
2021-03-06Fix Fortran dep scanner for upper case file extensions. Closes #8395.Jussi Pakkanen2-1/+2
2021-02-19Fix combining C and Fortran. Closes #8377.Jussi Pakkanen2-2/+18
2021-01-21Add fortran test with an install:yes static libraryJonas Lundholm Bertelsen6-0/+74
This adds a test which makes use of an install:yes static library that depends on another static library. This triggers a promotion to link_whole_target inside meson which takes different code paths in certain places. Also makes use of .F90 source (capital F) to test for case (in)sensitivity.
2020-09-03tests: add fortran cmake subproject include testMichael Hirsch7-26/+30
ci:unused_arg: update ninja version to work with fortran+cmake
2020-06-15test:fortran7: default static so Intel/VS-based compilers passMichael Hirsch1-3/+3
we did the same thing earlier with other Fortran tests for the same reason.
2020-06-14windows: Canonicalize `:` in filenamesNirbheek Chauhan1-0/+2
Fixes https://github.com/mesonbuild/meson/issues/7265
2020-06-14fortran generated test: add code to reveal issueMichael Hirsch5-10/+22
used with Issue #7265
2020-04-05quality / test: Fortran type hintingMichael Hirsch, Ph.D2-0/+22
enhance fortran args tests
2020-01-24tests: Disable fortran submodule test on old GCC versionsNirbheek Chauhan1-0/+5
Need gcc 6.0 or newer: https://gcc.gnu.org/wiki/Fortran2008Status
2019-12-19ci: improve robustnessMichael Hirsch, Ph.D1-1/+1
* netcf * hdf5 * scalapack * coarray
2019-12-13ci fortran: add case where buildtype=release and warning_level=3Michael Hirsch, Ph.D2-0/+6
this can find issues with non-default build options
2019-11-25complete gfortran/intel/intel-cl fortran_std testMichael Hirsch, Ph.D6-0/+149
2019-11-18Merge pull request #6194 from scivision/coarraysJussi Pakkanen1-7/+5
dep: Fortran Coarrays-enhance finding by use Pkg-config & CMake
2019-11-18Use strict function prototypesMichael Hirsch, Ph.D1-1/+1
2019-11-17ci: add timeout to coarray testMichael Hirsch, Ph.D1-7/+5
2019-11-17use '-Werror=unused-parameter' for gcc/clang on project tests and ↵Michael Hirsch, Ph.D3-4/+4
-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-10-23tests: add fortran-specific compiler checksMichael Hirsch, Ph.D2-0/+31
2019-08-24Intel-Cl tests: increase robustness of Windows Intel compilers detection (#5828)Michael Hirsch, Ph.D1-2/+10
* intel-cl tests: more rigorous detection of intent to use Intel Windows compilers * fortran coarray test: make skipping more robust in that underlying MPI stack is .run() This is useful for any Fortran coarray work, and especially for intel-cl where multiple Intel compiler versions are often installed, and the wrong underlying MPI library may be dynamically linked, and so a runtime check is needed to exercise the MPI stack underlying Fortran coarray. This is done by fc.run('sync all; end', dependencies: coarray) * pep8
2019-07-30default fortran lib to static so windows can be testedMichael Hirsch, Ph.D1-1/+2
2019-07-30skip fortran dyamiclib tests on WindowsMichael Hirsch, Ph.D1-2/+4
2019-07-30PGI doesn't have coarray fortranMichael Hirsch, Ph.D1-2/+2
2019-07-30Merge pull request #5740 from scivision/intel-ci_fixJussi Pakkanen1-1/+2
tests: Intel-cl fixes for Fortran
2019-07-30fortran tests: non-gfortran compilers on Windows are best static libsMichael Hirsch, Ph.D1-1/+2
collapsed get_relative_files_list_from_dir to a one-liner via pathlib.Path
2019-07-29Flang and PGI don't yet support coarrayMichael Hirsch, Ph.D1-0/+7
2019-06-25fortran-specific openMP testsMichael Hirsch, Ph.D2-0/+51
2019-06-24only test if Zlib foundMichael Hirsch, Ph.D1-2/+6
2019-06-24windows ifort can't do shared_library sanelyMichael Hirsch, Ph.D1-0/+6
2019-06-24intel windows coarray argsMichael Hirsch, Ph.D1-1/+2
2019-06-23fortran 2003 use, non_instrinsicMichael Hirsch, Ph.D5-19/+61
incl inver
2019-06-23fortran submodule checksMichael Hirsch, Ph.D3-3/+7
fortran submodule checks
2019-06-23fortran include syntax checksMichael Hirsch, Ph.D4-3/+32
minvers
2019-06-23BUGFIX: Fortran module regex handle more edge casesMichael Hirsch, Ph.D3-0/+11
2019-06-20add fortarn use inline comment testMichael Hirsch, Ph.D1-1/+1
2019-06-20add inline comment test for Fortran submoduleMichael Hirsch, Ph.D1-1/+1
2019-06-20add inline comment test for Fortran includeMichael Hirsch, Ph.D1-1/+1
2019-06-20BUGFIX syntaxMichael Hirsch, Ph.D1-2/+2
2019-06-19make test more stringent by building separate libraryMichael Hirsch, Ph.D1-1/+4
2019-06-19add fortran module inline comment testMichael Hirsch, Ph.D5-10/+21
2019-05-16compilers/fortran: Fix all has_argument methods in mesonDylan Baker1-1/+4
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-10tests/fortran/14: Add vsdef filesDylan Baker2-1/+3
ICL and ifort need these to pass this tests.
2019-05-10tests/fortran/9 cpp: It's okay to link ICL and ifortDylan Baker1-1/+1
This test currently assumes that the fortran compiler is gfotran, and if we're not using g++ it skips. This patch changes it to skip if the fotran compiler and the c++ compiler aren't the same family. This still may skip in some cases it shouldn't (clang and gfort probably work fine on windows), but it does enable ifort + ICL. Which is hte point.
2019-05-10tests/fortran/1: call compiler.get_id() == str instead of compiler == strDylan Baker1-1/+1
2019-05-02per-target manual specification of link_languageMichael Hirsch, Ph.D3-0/+30
2019-03-25add test case for same-name module+submoduleMichael Hirsch, Ph.D3-9/+6
2019-03-14add fortran include test caseMichael Hirsch, Ph.D4-0/+19
2019-02-27correct Fortran self-dep logicMichael Hirsch, Ph.D3-0/+11
corrected, generalized self-referential Fortran fix further refine logic
2019-02-26Fortran: handle self-referential filesMichael Hirsch, Ph.D3-5/+11
2019-02-13Fortran 2008/2018 Coarray supportMichael Hirsch, Ph.D2-0/+19
2019-02-05Fortran 2008 submodule (#4874)Michael Hirsch, Ph.D6-0/+85
2019-01-29BUGFIX: allow fc.run(code) to work, pick only Fortran moduleMichael Hirsch, Ph.D1-0/+20