Преглед на файлове

Actually, just disable test_rebind.sh on Appveyor

rl1987 преди 7 години
родител
ревизия
7b27d98eae
променени са 1 файла, в които са добавени 5 реда и са изтрити 3 реда
  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