From d41c0256ad6f9c6bc9014cd2edde56050288eeb0 Mon Sep 17 00:00:00 2001 From: "Ming.Hu" Date: Mon, 24 Jun 2024 18:05:02 +0000 Subject: [PATCH] Use ENKF_MODE to decide which enkf case to use for regression test suite. --- regression/CMakeLists.txt | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/regression/CMakeLists.txt b/regression/CMakeLists.txt index 7543208458..e36cca605b 100644 --- a/regression/CMakeLists.txt +++ b/regression/CMakeLists.txt @@ -45,9 +45,15 @@ list(APPEND GSI_REG_TEST_NAMES ) # EnKF regression test names -list(APPEND ENKF_REG_TEST_NAMES - global_enkf rrfs_enkf_conv -) +if(ENKF_MODE MATCHES "^(FV3REG)$") + list(APPEND ENKF_REG_TEST_NAMES + rrfs_enkf_conv + ) +else() + list(APPEND ENKF_REG_TEST_NAMES + global_enkf + ) +endif() # Add GSI regression tests to list of tests if(GSICONTROLEXEC)