diff --git a/CbmRoot_test.cmake b/CbmRoot_test.cmake index 8d2960c521ed1cfc6242fea46e7049649c71c288..2d6619c044264c81f1a275a301fa0736cda7837d 100644 --- a/CbmRoot_test.cmake +++ b/CbmRoot_test.cmake @@ -28,10 +28,12 @@ Else() Set(CTEST_USE_LAUNCHERS 1) EndIf() -If(NOT $ENV{ctest_model} MATCHES Weekly) - String(TOUPPER $ENV{ctest_model} _Model) -Else() +If($ENV{ctest_model} MATCHES Weekly) Set(_Model PROFILE) +ElseIf($ENV{ctest_model} MATCHES MergeRequest) + Set(_Model CONTINUOUS) +Else() + String(TOUPPER $ENV{ctest_model} _Model) EndIf() If(EXTRA_FLAGS)