-
Notifications
You must be signed in to change notification settings - Fork 29
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
Update unittest frameworks #259
Conversation
havogt
commented
Jun 16, 2022
- remove googletest from repo (use FetchContent) and update to version 1.11.
- update pFUnit dependency to 4.4.1 (preparation for testing nvhpc)
launch jenkins |
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.
Thanks for your prompt fix.
@@ -189,7 +189,7 @@ fi | |||
# pFUnit | |||
if [ ! -z ${PFUNIT_INSTALL_DIR+x} ]; then | |||
SERIALBOX_TESTING_FORTRAN=ON | |||
SET_PFUNIT_PATH="-DpFUnit_DIR=${PFUNIT_INSTALL_DIR}" |
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.
A question:
To pass PFUNIT to CMAKE I now need to pass its install-dir through "DCMAKE_PREFIX_PATH"?
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.
Yes, either that or -DPFUNIT_DIR=<path to the directory with PFUNIT.cmake file>
(or some other path, as described here https://cmake.org/cmake/help/latest/command/find_package.html#config-mode-search-procedure).