Browse Source

Actually, just disable test_rebind.sh on Appveyor

rl1987 5 years ago
parent
commit
7b27d98eae
1 changed files with 5 additions and 3 deletions
  1. 5 3
      src/test/test_rebind.sh

+ 5 - 3
src/test/test_rebind.sh

@@ -2,12 +2,14 @@
 
 set -x
 
-UNAME_OS=`uname -s | cut -d_ -f1`
+UNAME_OS=$(uname -s | cut -d_ -f1)
 if test "$UNAME_OS" = 'CYGWIN' || \
    test "$UNAME_OS" = 'MSYS' || \
    test "$UNAME_OS" = 'MINGW'; then
-  echo "This test is disabled on Windows CI, as it requires firewall examptions. Skipping." >&2
-  exit 77
+  if test "$APPVEYOR" = 'True'; then
+    echo "This test is disabled on Windows CI, as it requires firewall examptions. Skipping." >&2
+    exit 77
+  fi
 fi
 
 exitcode=0