diff options
author | Hans Wennborg <hans@hanshq.net> | 2016-07-27 20:38:01 +0000 |
---|---|---|
committer | Hans Wennborg <hans@hanshq.net> | 2016-07-27 20:38:01 +0000 |
commit | da34deb1c62bf1bc5bb5c756f761e0ed97191646 (patch) | |
tree | 2afec64ce86fd22e80506521cb7363305305d2ce | |
parent | 549ec0895e102eaa594867cebf4eeb8ea152afab (diff) |
build_llvm_package.bat: try tests three times
Sometimes they're flaky on Windows, and starting the whole thing
over is painful.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@276913 91177308-0d34-0410-b5e6-96231b3b80d8
-rwxr-xr-x | utils/release/build_llvm_package.bat | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/utils/release/build_llvm_package.bat b/utils/release/build_llvm_package.bat index 6f084117893..3b032dd2823 100755 --- a/utils/release/build_llvm_package.bat +++ b/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 ..
|