summaryrefslogtreecommitdiff
path: root/build/win_tests
diff options
context:
space:
mode:
Diffstat (limited to 'build/win_tests')
-rwxr-xr-xbuild/win_tests17
1 files changed, 17 insertions, 0 deletions
diff --git a/build/win_tests b/build/win_tests
new file mode 100755
index 000000000..d1a12b2b2
--- /dev/null
+++ b/build/win_tests
@@ -0,0 +1,17 @@
+#!/bin/bash
+
+source ./winvars.sh || exit 1
+
+mkdir tmp
+cd ..
+
+dir=`pwd`
+
+autoreconf -i || exit 1
+cd build/tmp
+
+../../configure \
+--host=${CROSS} \
+--enable-unittests || exit 1
+
+make check -j8 2>../make2.log || exit 1