summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-10-03 09:19:37 -0400
committerNick Mathewson <nickm@torproject.org>2019-10-03 09:19:37 -0400
commit05a324b56450e9c0753e6498a3d5c278659140ab (patch)
tree5c52f0b0a38e4d3ebcb3f6d02d1ce817b4d0d75a
parent5fd137c482919d906f1011a8ebbff6aa0f454b5d (diff)
parentb186418792fe1283855acf2f143661b7c6d7254e (diff)
downloadtor-05a324b56450e9c0753e6498a3d5c278659140ab.tar.gz
tor-05a324b56450e9c0753e6498a3d5c278659140ab.zip
Merge remote-tracking branch 'tor-github/pr/1376'
-rw-r--r--.appveyor.yml12
-rw-r--r--changes/bug318843
2 files changed, 15 insertions, 0 deletions
diff --git a/.appveyor.yml b/.appveyor.yml
index 8177a23cfb..57eaee85c3 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 ';'
diff --git a/changes/bug31884 b/changes/bug31884
new file mode 100644
index 0000000000..ddb6c50d74
--- /dev/null
+++ b/changes/bug31884
@@ -0,0 +1,3 @@
+ o Minor bugfixes (Appveyor CI):
+ - Avoid spurious errors when Appveyor CI fails before the install step.
+ Fixes bug 31884; bugfix on 0.3.4.2-alpha.