diff --git a/utils/build-script-impl b/utils/build-script-impl index 9504c526d4023..b5f2222c67d1d 100755 --- a/utils/build-script-impl +++ b/utils/build-script-impl @@ -2487,6 +2487,11 @@ for host in "${ALL_HOSTS[@]}"; do continue ;; *) + # FIXME: Always re-build XCTest on non-darwin platforms. + # Remove this when products build in the CMake system. + echo "Cleaning the XCTest build directory" + call rm -rf "${XCTEST_BUILD_DIR}" + cmake_options=( ${cmake_options[@]} -DCMAKE_BUILD_TYPE:STRING="${LIBDISPATCH_BUILD_TYPE}"