You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our code outputs some warnings that get parsed as tests, e.g.,
$ ctest -N
Test project /home/pgrete/src/parthenon/build-catch2
Test #1: Kokkos::OpenMP::initialize WARNING: OMP_PROC_BIND environment variable not set
Test #2: In general, for best performance with OpenMP 4.0 or better set OMP_PROC_BIND=spread and OMP_PLACES=threads
Test #3: For best performance with OpenMP 3.1 set OMP_PROC_BIND=true
Test #4: For unit testing set OMP_PROC_BIND=false
Test #5: Adding MeshBlockData objects to a DataCollection
Test #6: Just check everything
We can suppress the warnings by adding --kokkos-disable-warnings to the command call.
I tried to use catch_discover_tests(performance_tests EXTRA_ARGS "--kokkos-disable-warnings") but the warning still show up as tests (see above)
Expected behavior EXTRA_ARGS also be used for discovering tests.
Reproduction steps
I can try to come up with a MWE if required.
Platform information:
OS: linux
Compiler+version: g++ 11.2
Catch version: v2.13.8
Additional context
Potentially also related to #1810
The text was updated successfully, but these errors were encountered:
Describe the bug
Our code outputs some warnings that get parsed as tests, e.g.,
We can suppress the warnings by adding
--kokkos-disable-warnings
to the command call.I tried to use
catch_discover_tests(performance_tests EXTRA_ARGS "--kokkos-disable-warnings")
but the warning still show up as tests (see above)Expected behavior
EXTRA_ARGS
also be used for discovering tests.Reproduction steps
I can try to come up with a MWE if required.
Platform information:
Additional context
Potentially also related to #1810
The text was updated successfully, but these errors were encountered: