summaryrefslogtreecommitdiff
path: root/test cases/fortran
AgeCommit message (Collapse)Author
2025-06-27compilers-fortran: Fix preprocessing when fortran uses concat operatorAndrew Lister
2025-04-03tests/fortran: use fs.copyfileDylan Baker
Since the comment saying we need a generic way to do this is a little outdated.
2025-04-03tests/fortran: also test using a generator()Dylan Baker
We already test for custom_targets and configure_file, but we should test a generator too
2025-04-03tests: demonstrate that our scanner cannot handle cross target modulesDylan Baker
2023-06-28Condense test directory names for release.Jussi Pakkanen
2023-05-13Fix paths of Fortran order dependenciesVolker Weißmann
Fixes #11047
2023-04-27Don't use dyndep scanner when preprocessingVolker Weißmann
Fixes #11504
2022-07-11tests: unskip windows mixing msvc and fortran, for non-gcc fortranEli Schwartz
These checked that e.g. the cpp and fc ids are identical, which isn't strictly what we want. Particularly, msvc doesn't even have a fortran compiler, and what we really care about is whether we mix both gcc and something else.
2021-10-30Added warning if run_command is called without the check kwargVolker Weißmann
2021-09-25compilers: Add default search path stdlib_only_link_flagsDylan Baker
This should be done in all cases of language_stdlib_only_link_flags, but I don't have access to all of the compilers to test it. This is required in cases where object files created by gfortran are linked using another compiler with a differen default search path, such as gfortran and clang together.
2021-09-20tests: Fix fortran testsRohit Goswami
2021-09-20backend/ninja: add generated sources to depscan order depsDylan Baker
Since we changed to using a json file to avoid over long command lines we created a situation where the generated files may not be ready when the depscan happens. To avoid that, we need to add all of the generated sources as order deps. Fixes: #9258
2021-09-20tests/fortran/7 generated: don't try to find a configure_file by pathDylan Baker
Use the value returned by configure file instead. The issue that caused this to be required is no longer present.
2021-09-10Made submodule child code valid Fortran.Mat Cross
2021-08-15editorconfig: add setting to trim trailing whitespaceEli Schwartz
and clean up all outstanding issues Skip 'test cases/common/141 special characters/meson.build' since it intentionally uses trailing newlines.
2021-06-22tests: both_library test improvementsDaniel Mensinger
This switches some `shared_library()` calls to `library()` and adds one new CI matrix entries for -Ddefault_library={static, both}.
2021-05-13test:fortran:21: fix Windows by using configure_file(copy:)Michael Hirsch
2021-03-06Fix Fortran dep scanner for upper case file extensions. Closes #8395.Jussi Pakkanen
2021-02-19Fix combining C and Fortran. Closes #8377.Jussi Pakkanen
2021-01-21Add fortran test with an install:yes static libraryJonas Lundholm Bertelsen
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 Hirsch
ci:unused_arg: update ninja version to work with fortran+cmake
2020-06-15test:fortran7: default static so Intel/VS-based compilers passMichael Hirsch
we did the same thing earlier with other Fortran tests for the same reason.
2020-06-14windows: Canonicalize `:` in filenamesNirbheek Chauhan
Fixes https://github.com/mesonbuild/meson/issues/7265
2020-06-14fortran generated test: add code to reveal issueMichael Hirsch
used with Issue #7265
2020-04-05quality / test: Fortran type hintingMichael Hirsch, Ph.D
enhance fortran args tests
2020-01-24tests: Disable fortran submodule test on old GCC versionsNirbheek Chauhan
Need gcc 6.0 or newer: https://gcc.gnu.org/wiki/Fortran2008Status
2019-12-19ci: improve robustnessMichael Hirsch, Ph.D
* netcf * hdf5 * scalapack * coarray
2019-12-13ci fortran: add case where buildtype=release and warning_level=3Michael Hirsch, Ph.D
this can find issues with non-default build options
2019-11-25complete gfortran/intel/intel-cl fortran_std testMichael Hirsch, Ph.D
2019-11-18Merge pull request #6194 from scivision/coarraysJussi Pakkanen
dep: Fortran Coarrays-enhance finding by use Pkg-config & CMake
2019-11-18Use strict function prototypesMichael Hirsch, Ph.D
2019-11-17ci: add timeout to coarray testMichael Hirsch, Ph.D
2019-11-17use '-Werror=unused-parameter' for gcc/clang on project tests and ↵Michael Hirsch, Ph.D
-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.D
2019-08-24Intel-Cl tests: increase robustness of Windows Intel compilers detection (#5828)Michael Hirsch, Ph.D
* 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.D
2019-07-30skip fortran dyamiclib tests on WindowsMichael Hirsch, Ph.D
2019-07-30PGI doesn't have coarray fortranMichael Hirsch, Ph.D
2019-07-30Merge pull request #5740 from scivision/intel-ci_fixJussi Pakkanen
tests: Intel-cl fixes for Fortran
2019-07-30fortran tests: non-gfortran compilers on Windows are best static libsMichael Hirsch, Ph.D
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.D
2019-06-25fortran-specific openMP testsMichael Hirsch, Ph.D
2019-06-24only test if Zlib foundMichael Hirsch, Ph.D
2019-06-24windows ifort can't do shared_library sanelyMichael Hirsch, Ph.D
2019-06-24intel windows coarray argsMichael Hirsch, Ph.D
2019-06-23fortran 2003 use, non_instrinsicMichael Hirsch, Ph.D
incl inver
2019-06-23fortran submodule checksMichael Hirsch, Ph.D
fortran submodule checks
2019-06-23fortran include syntax checksMichael Hirsch, Ph.D
minvers
2019-06-23BUGFIX: Fortran module regex handle more edge casesMichael Hirsch, Ph.D
2019-06-20add fortarn use inline comment testMichael Hirsch, Ph.D