Skip to content

Commit 5a73be2

Browse files
committed
[legacy] test: Add test of FairRoot dev branch
1 parent fa35ba0 commit 5a73be2

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

cmake/legacy.cmake

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -627,8 +627,12 @@ add_custom_target(source-cache
627627

628628
include(CTest)
629629

630-
foreach(ver IN ITEMS 18.6 18.8 19.0)
631-
set(TEST_VERSION v${ver}_patches)
630+
foreach(ver IN ITEMS 18.6 18.8 19.0 dev)
631+
if(ver STREQUAL dev)
632+
set(TEST_VERSION ${ver})
633+
else()
634+
set(TEST_VERSION v${ver}_patches)
635+
endif()
632636
configure_file(test/legacy/fairroot.sh.in ${CMAKE_BINARY_DIR}/test_fairroot_${ver}.sh @ONLY)
633637
add_test(NAME FairRoot_${ver}
634638
COMMAND test_fairroot_${ver}.sh

0 commit comments

Comments
 (0)