summaryrefslogtreecommitdiffstats
path: root/llvm/utils
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2016-07-27 20:38:01 +0000
committerHans Wennborg <hans@hanshq.net>2016-07-27 20:38:01 +0000
commit94872ff11c9bb7d7d4c6523f62daf6b2366ad0f2 (patch)
treecf7ba8c42deebb7d284b7148df7212659a09c753 /llvm/utils
parent5940875a7e7ce868b59456768a42326f9c6180d0 (diff)
downloadbcm5719-llvm-94872ff11c9bb7d7d4c6523f62daf6b2366ad0f2.tar.gz
bcm5719-llvm-94872ff11c9bb7d7d4c6523f62daf6b2366ad0f2.zip
build_llvm_package.bat: try tests three times
Sometimes they're flaky on Windows, and starting the whole thing over is painful. llvm-svn: 276913
Diffstat (limited to 'llvm/utils')
-rwxr-xr-xllvm/utils/release/build_llvm_package.bat16
1 files changed, 8 insertions, 8 deletions
diff --git a/llvm/utils/release/build_llvm_package.bat b/llvm/utils/release/build_llvm_package.bat
index 6f084117893..3b032dd2823 100755
--- a/llvm/utils/release/build_llvm_package.bat
+++ b/llvm/utils/release/build_llvm_package.bat
@@ -55,8 +55,8 @@ mkdir build32_stage0
cd build32_stage0
cmake -GNinja %cmake_flags% ..\llvm || exit /b
ninja all || exit /b
-ninja check || exit /b
-ninja check-clang || exit /b
+ninja check || ninja check || ninja check || exit /b
+ninja check-clang || ninja check-clang || ninja check-clang || exit /b
cd..
mkdir build32
@@ -65,8 +65,8 @@ set CC=..\build32_stage0\bin\clang-cl
set CXX=..\build32_stage0\bin\clang-cl
cmake -GNinja %cmake_flags% -DBUILD_CLANG_FORMAT_VS_PLUGIN=ON ..\llvm || exit /b
ninja all || exit /b
-ninja check || exit /b
-ninja check-clang || exit /b
+ninja check || ninja check || ninja check || exit /b
+ninja check-clang || ninja check-clang || ninja check-clang || exit /b
copy ..\llvm\tools\clang\tools\clang-format-vs\ClangFormat\bin\Release\ClangFormat.vsix ClangFormat-r%revision%.vsix
ninja package || exit /b
cd ..
@@ -79,8 +79,8 @@ mkdir build64_stage0
cd build64_stage0
cmake -GNinja %cmake_flags% ..\llvm || exit /b
ninja all || exit /b
-ninja check || exit /b
-ninja check-clang || exit /b
+ninja check || ninja check || ninja check || exit /b
+ninja check-clang || ninja check-clang || ninja check-clang || exit /b
cd..
mkdir build64
@@ -89,7 +89,7 @@ set CC=..\build64_stage0\bin\clang-cl
set CXX=..\build64_stage0\bin\clang-cl
cmake -GNinja %cmake_flags% ..\llvm || exit /b
ninja all || exit /b
-ninja check || exit /b
-ninja check-clang || exit /b
+ninja check || ninja check || ninja check || exit /b
+ninja check-clang || ninja check-clang || ninja check-clang || exit /b
ninja package || exit /b
cd ..
OpenPOWER on IntegriCloud