X-Git-Url: http://plrg.eecs.uci.edu/git/?p=folly.git;a=blobdiff_plain;f=CMake%2FFollyFunctions.cmake;h=ee538856b20fee6819fc70beb3002941d444be0b;hp=61992c62159f3224869bbc21435cd7c752ccae7d;hb=a123a11e30026dd9883f16fa3ad1baa2d9ecfeec;hpb=7e9117ad80bc5a5402d71a4e036e404f087adc68;ds=sidebyside diff --git a/CMake/FollyFunctions.cmake b/CMake/FollyFunctions.cmake index 61992c62..ee538856 100755 --- a/CMake/FollyFunctions.cmake +++ b/CMake/FollyFunctions.cmake @@ -205,7 +205,9 @@ function(folly_define_tests) "x${ARGV${currentArg}}" STREQUAL "xDIRECTORY") break() elseif (argumentState EQUAL 0) - if ("x${ARGV${currentArg}}" STREQUAL "xHANGING") + if ("x${ARGV${currentArg}}" STREQUAL "xBROKEN") + set(test_${cur_test}_tag "BROKEN") + elseif ("x${ARGV${currentArg}}" STREQUAL "xHANGING") set(test_${cur_test}_tag "HANGING") elseif ("x${ARGV${currentArg}}" STREQUAL "xSLOW") set(test_${cur_test}_tag "SLOW") @@ -246,6 +248,7 @@ function(folly_define_tests) set(cur_test 0) while (cur_test LESS test_count) if ("x${test_${cur_test}_tag}" STREQUAL "xNONE" OR + ("x${test_${cur_test}_tag}" STREQUAL "xBROKEN" AND BUILD_BROKEN_TESTS) OR ("x${test_${cur_test}_tag}" STREQUAL "xSLOW" AND BUILD_SLOW_TESTS) OR ("x${test_${cur_test}_tag}" STREQUAL "xHANGING" AND BUILD_HANGING_TESTS) )