diff options
author | Nick Mathewson <nickm@torproject.org> | 2019-10-22 12:10:30 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2019-10-22 12:10:30 -0400 |
commit | 4013e50cb732bfb3e2706baef5cd7aba8d16d8c4 (patch) | |
tree | 6127601f7007c76ba65bb4ed225cdbbd69ae9f1f /.appveyor.yml | |
parent | 9bb0ca122f13255982566b440b0b9d03b6a9e44b (diff) | |
parent | 21c3488af714ade6f07251194165d92f77f06c31 (diff) | |
download | tor-4013e50cb732bfb3e2706baef5cd7aba8d16d8c4.tar.gz tor-4013e50cb732bfb3e2706baef5cd7aba8d16d8c4.zip |
Merge branch 'maint-0.3.5' into maint-0.4.0
Diffstat (limited to '.appveyor.yml')
-rw-r--r-- | .appveyor.yml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/.appveyor.yml b/.appveyor.yml index abc5cbeb38..07ba574f4e 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -102,6 +102,18 @@ test_script: on_finish: - ps: >- + <# if we failed before install:, these functions won't be defined #> + Function Execute-Command ($commandPath) + { + & $commandPath $args 2>&1 + if ( $LastExitCode -ne 0 ) { + $host.SetShouldExit( $LastExitCode ) + } + } + Function Execute-Bash () + { + Execute-Command 'c:\msys64\usr\bin\bash' '-e' '-c' $args + } if ($env:compiler -eq "mingw") { <# use the MSYS2 user binaries to archive failures #> $oldpath = ${env:Path} -split ';' |