-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use pFUnit 4 for testing #70
base: main
Are you sure you want to change the base?
Use pFUnit 4 for testing #70
Conversation
Includes necessary modifications to CMakeLists.txt and the tests themselves. At the moment produces large number of warnings from the tests and CMake.
Mostly unused variables and unintended conversions.
Now uses a version with PFUnit 4.7.3
c0ad362
to
3cf6571
Compare
@valeriaRaffuzzi We probably need to start to move this PR forward. The main issues to figure out at the moment is:
|
Otherwise: If the name of the PFUNIT environmental variable has changed we should update the Installation doc as well. |
P.S.: You are absolutely right for the |
@@ -198,7 +196,7 @@ subroutine testLooping(this) | |||
character(nameLen) :: tKey | |||
|
|||
! Initialise parameters | |||
KEYS_PAST = "This is not a Key. It's picture of a key!" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why?!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very very belatedly... Thanks for doing this! It looks like it was surprisingly straightforward, other than a lot of name changes.
This aims to address #10 and switch the pFUnit to the version 4. Furthermore, it turns out that warnings were not enable when building tests. Consequently the warnings that are now raised are addressed.
Note:
FindPFUnit.cmake
the hint enviromental variable has changed fromPFUNIT_INSTALL
toPFUNIT_DIR
.In short term we should also aim to update the CMake configuration and use FetchContent to download the pFUnit automatically. I did not do this in this PR to keep it smaller. Not sure if this is a good idea or bad.
P.S. Should definitely NOT be merged before the workshop since it will cause havoc...