File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
components/eamxx/src/physics/p3 Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -69,6 +69,8 @@ if (SCREAM_P3_SMALL_KERNELS)
6969 add_library (p3 ${P3_SRCS} ${P3_SK_SRCS} )
7070else ()
7171 add_library (p3 ${P3_SRCS} )
72+ # If small kernels are ON, we don't need a separate executable to test them.
73+ # Also, we never want to generate baselines with this separate executable
7274 if (NOT SCREAM_LIBS_ONLY AND NOT SCREAM_ONLY_GENERATE_BASELINES)
7375 add_library (p3_sk ${P3_SRCS} ${P3_SK_SRCS} )
7476 # Always build p3_sk with SCREAM_P3_SMALL_KERNELS on
Original file line number Diff line number Diff line change @@ -74,7 +74,9 @@ if (SCREAM_ENABLE_BASELINE_TESTS)
7474 ${FORCE_RUN_DIFF_FAILS} )
7575endif ()
7676
77- if (NOT SCREAM_P3_SMALL_KERNELS)
77+ # If small kernels are ON, we don't need a separate executable to test them.
78+ # Also, we never want to generate baselines with this separate executable
79+ if (NOT SCREAM_P3_SMALL_KERNELS AND NOT SCREAM_ONLY_GENERATE_BASELINES)
7880 CreateUnitTest(p3_sk_tests "${P3_TESTS_SRCS} "
7981 LIBS p3_sk p3_test_infra
8082 EXE_ARGS "--args ${BASELINE_FILE_ARG} "
You can’t perform that action at this time.
0 commit comments