Skip to content
This repository has been archived by the owner on May 15, 2024. It is now read-only.

Embed pFUnit 3 sources to facilitate testing on Ubuntu 18 and Windows #2

Merged
merged 10 commits into from
Jan 14, 2024

Conversation

kmoks
Copy link
Contributor

@kmoks kmoks commented Jan 11, 2024

The pFUnit 3 package is longer available in the Goddard-Fortran-Ecosystem/pFUnit repository. Therefore, the sources that has been used since Fortran unit testing was introduced in FEDEM, is now embedded in this repository, such that it is still possible to run/test what was possible before.

pFUnit 4 can only be used on Ubuntu 20 and later, it has not yet been tested for Windows build (consider separate Issue for that later).

This PR requires the upstream SAP-archive/cmake-modules#4

@kmoks kmoks changed the title Embed pFUnit 3 source code to facilitate testing on Ubuntu 18 and Windows Embed pFUnit 3 sources to facilitate testing on Ubuntu 18 and Windows Jan 12, 2024
@kmoks kmoks requested a review from gglan January 12, 2024 07:42
exluding the Examples, documentation, test and tools folders,
some scripts in the bin folder, and the GNUmakefiles
Add files pFUnitExtraArg.f90 and pFUnitExtra.f90.in for handling extra
arguments to the add_fortran_test() function for pFUnit 3 and pFUnit 4,
respectively. Update CMakeLists.txt to only build what is needed.
@kmoks kmoks merged commit 4ca7ba9 into main Jan 14, 2024
2 checks passed
@kmoks kmoks deleted the pFUnit3 branch January 14, 2024 15:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants