aboutsummaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorElliott Sales de Andrade <quantum.analyst@gmail.com>2017-05-07 03:36:23 -0400
committerElliott Sales de Andrade <quantum.analyst@gmail.com>2017-05-21 16:11:33 -0400
commitfcfe3c32316ade43b65eeed4337f305f03e0687b (patch)
tree05e01db2e393a80d1a4a5753c624b6cfacc7c15e /ci
parent8a9479f8eaab73676ef98c570dfafaff2b5453ec (diff)
downloadmeson-fcfe3c32316ade43b65eeed4337f305f03e0687b.zip
meson-fcfe3c32316ade43b65eeed4337f305f03e0687b.tar.gz
meson-fcfe3c32316ade43b65eeed4337f305f03e0687b.tar.bz2
Use a wrapper script to run tests in Cygwin.
Diffstat (limited to 'ci')
-rwxr-xr-xci/appveyor-test.sh6
-rw-r--r--ci/run-in-cygwin.bat6
2 files changed, 6 insertions, 6 deletions
diff --git a/ci/appveyor-test.sh b/ci/appveyor-test.sh
deleted file mode 100755
index 2f29630..0000000
--- a/ci/appveyor-test.sh
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh
-
-echo ninja $(ninja --version)
-python3 --version -V
-
-python3 run_tests.py --backend=${backend}
diff --git a/ci/run-in-cygwin.bat b/ci/run-in-cygwin.bat
new file mode 100644
index 0000000..146d28e
--- /dev/null
+++ b/ci/run-in-cygwin.bat
@@ -0,0 +1,6 @@
+if _%arch%_ == _x64_ set CYGWIN_ROOT=C:\cygwin64
+if _%arch%_ == _x86_ set CYGWIN_ROOT=C:\cygwin
+
+set PATH=%CYGWIN_ROOT%\bin;%SYSTEMROOT%\system32
+
+env.exe -- %*