From ab85ff5da40899ee7463ed7edc2e3526ae9ada0d Mon Sep 17 00:00:00 2001 From: Peter Williams Date: Wed, 7 Aug 2019 21:17:41 -0400 Subject: [PATCH] .appveyor.yml: (try to) avoid the Windows/MSVC test suite failure --- .appveyor.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.appveyor.yml b/.appveyor.yml index bf1f4b03a..30a6037d0 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -94,6 +94,8 @@ before_test: # Workaround rust#53454 - if "%target_env%" == "gnu" copy /y "C:\msys64\%mingw_subdir%\%mingw_target%\lib\crt2.o" %USERPROFILE%\.rustup\toolchains\%toolchain%\lib\rustlib\%target%\lib\crt2.o" - if "%target_env%" == "gnu" copy /y "C:\msys64\%mingw_subdir%\%mingw_target%\lib\dllcrt2.o" %USERPROFILE%\.rustup\toolchains\%toolchain%\lib\rustlib\%target%\lib\dllcrt2.o" + # Dodge format file locking issue in the test suite + - set RUST_TEST_THREADS=1 # Uses 'cargo test' to run tests and build. Alternatively, the project may call compiled programs # directly or perform other testing commands. Rust will automatically be placed in the PATH