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)
69
69
add_library (p3 ${P3_SRCS} ${P3_SK_SRCS} )
70
70
else ()
71
71
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
72
74
if (NOT SCREAM_LIBS_ONLY AND NOT SCREAM_ONLY_GENERATE_BASELINES)
73
75
add_library (p3_sk ${P3_SRCS} ${P3_SK_SRCS} )
74
76
# 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)
74
74
${FORCE_RUN_DIFF_FAILS} )
75
75
endif ()
76
76
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)
78
80
CreateUnitTest(p3_sk_tests "${P3_TESTS_SRCS} "
79
81
LIBS p3_sk p3_test_infra
80
82
EXE_ARGS "--args ${BASELINE_FILE_ARG} "
You can’t perform that action at this time.
0 commit comments