Skip to content
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

Merged
merged 16 commits into from
Jun 20, 2022
Merged

Update unittest frameworks #259

merged 16 commits into from
Jun 20, 2022

Conversation

havogt
Copy link
Collaborator

@havogt 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)

@havogt
Copy link
Collaborator Author

havogt commented Jun 17, 2022

launch jenkins

@havogt havogt requested a review from jonasjucker June 17, 2022 06:59
Copy link

@jonasjucker jonasjucker left a 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}"

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"?

E.g. here:
https://github.com/C2SM/spack-c2sm/blob/5a5339fce649c65d0ab2fd5904840331eb159440/packages/serialbox/package.py#L86

Copy link
Collaborator Author

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).

@havogt havogt merged commit b83826d into GridTools:master Jun 20, 2022
@havogt havogt deleted the pfunit_cmake branch June 20, 2022 07:15
@havogt havogt restored the pfunit_cmake branch February 8, 2023 18:02
@havogt havogt deleted the pfunit_cmake branch February 8, 2023 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants