Releases: Goddard-Fortran-Ecosystem/pFUnit
Releases · Goddard-Fortran-Ecosystem/pFUnit
Various fixes for build environments (Flang, Windows) and XML
Changed
- Add an enclosing
<testsuites>
element an xml version/encoding element in the funit xml output. Makes the output readable by more CI systems (Jenkins, GitLab-CI). - Change CMake from using
PARENT_SCOPE
toCACHE INTERNAL
as it seems in some setups using
pFUnit viaFetchContent
the former does not work as expected. - Update some
COMMENT
lines in functions with double-quotes to avoid warnings
Fixed
- Fix parser on Windows for paths with different drive letters
- Updates for CMake versions newer than 3.30.
- Update NVHPC CI (build only)
- Fix CMake for LLVM Flang
- Update object library dependency handling (see #495)
What's Changed
- Add correct header/footer to junit xml output by @melven in #493
- COMMENT takes exactly one argument by @td-mpcdf in #507
- Fix parser on Windows for paths with different drive letters by @melven in #506
- CI: Test NVHPC by @mathomp4 in #504
- Fixes #483. Move to use CACHE INTERNAL by @mathomp4 in #485
- Fixes for LLVM Flang by @mathomp4 in #509
- Fixes #495. Update object library dependency handling by @mathomp4 in #497
- GitFlow: Merge Develop into Main for 4.14 release by @mathomp4 in #510
Full Changelog: v4.13.0...v4.14.0
Support for ifx 2025.2, better support on Windows
Fixed
- Alter CMake in
add_pfunit_test.cmake
andadd_pfunit_ctest.cmake
to workaround ifx 2025.2 preprocessor bug
Changed
- Update fArgParse submodule to v1.10.0
- Update CMake minimum version to 3.24 to match other GFE repos
- Remove
macos-13
from CI, addmacos-15
- Add
gfortran-15
for macOS CI - Fix handling of forward/backward slashes in the parser on Windows when using the usual Python Windows release (worked only with Python through MinGW before)
- Ensure testing returns non-zero value when tests fail or are in error.
What's Changed
- Merge pull request #490 from Goddard-Fortran-Ecosystem/develop by @tclune in #491
- Make stops explicit about their return code by @MatthewHambley in #496
- Fix windows line markers by @melven in #494
- Fixes for ifx 2025.2 support by @mathomp4 in #500
- Update CMake minimum version to 3.24 by @mathomp4 in #492
- Update fargparse to 1.10.0, Prepare for 4.13.0 release by @mathomp4 in #501
- Missed GitFlow by @mathomp4 in #503
- GitFlow: Merge develop into main for 4.13.0 release by @mathomp4 in #502
New Contributors
Full Changelog: v4.12.0...v4.13.0
Update minimum required CMake version
Changed
- Updated minimum required CMake version to 3.12 in tests/ to match main CMakeLists.txt and documentation. Previously set to 3.0 which is now deprecated and was causing build issues.
GFortran workaround
Fixed
- Workaround for gfortran 13/14 on Ubuntu. Failure does not show on other fla
vors of Linux no macos.
Misc updates (support for Flang)
Changed
- Updated submodule for fArgParse
- Update CI to have
gfortran-10
andgfortran-11
only onubuntu-22.04
- Update CI NVIDIA to NVHPC 24.7
- Add Flang to CI
Migrated to use v2 interfaces from gFTL
Changed
- Updated pFUnit to use v2 template interfaces
- Added
-quiet
flag for NAG Fortran - Remove
macos-11
from GitHub Actions, addmacos-12
andgfortran-14
to Ubuntu 24.04 - Updated fArgParse to v1.8.0
Added
- LLVMFlang compiler support
Fixed
- Fixes some ctest failures
Port to Fujitsu and a few bug fixes
Added
- Fujitsu compiler support
Fixed
- This fixes a small CMake bug which can lead to posix_predefined.x being built in the wrong build subdirectory when CMAKE_RUNTIME_OUTPUT_DIRECTORY is set*.
- Missing implementation of
assertIsFinite_real80()
. Apparently undetected until recent attempt to port to flang. - Made support for REAL128 optional. (Port to nvfortran)
Changed
- Updated the CI to use Intel LLVM compilers
- Removed obsolete documentation
Update submodule for fArgParse
Changed
- Updated submodule for fArgparse [v1.6.0]
Workarounds for gfortran 13.2
Fixed
- Several workarounds added to enable building with gfortran 13.2. Polymorphic assignment is broken, and must be replaced by
ALLOCATE(obj,source=...)
. But apparently not everywhere? - Add
-check nouninit
for Intel LLVM to work aroundifx
bug.
Changed
- Updated CI to remove gcc-9 from macOS11 and add gcc-12
Minor bug fixes
Fixed
- Fixed cmake issue where target "pfunit-mpi-defines" is defined more than once
- Missing variable declaration in parameterized test case boiler plate code.