aboutsummaryrefslogtreecommitdiff
path: root/src/run.bash
diff options
context:
space:
mode:
authorJoe Poirier <jdpoirier@gmail.com>2010-09-13 13:36:51 +1000
committerAlex Brainman <alex.brainman@gmail.com>2010-09-13 13:36:51 +1000
commit479cbd6d34c213b6bdfc4bd3c2bc282bd195d5bd (patch)
treea5d7bbaf421063a08bdb64500388c812aaec585a /src/run.bash
parentbc55b41cbc53667656c4c72313314cd55ebc6b5b (diff)
downloadgo-479cbd6d34c213b6bdfc4bd3c2bc282bd195d5bd.tar.xz
(windows) disable tests that cause the build to fail
R=rsc, brainman CC=golang-dev https://golang.org/cl/2171044
Diffstat (limited to 'src/run.bash')
-rwxr-xr-xsrc/run.bash18
1 files changed, 13 insertions, 5 deletions
diff --git a/src/run.bash b/src/run.bash
index 1100f52f2a..304b3e9f5a 100755
--- a/src/run.bash
+++ b/src/run.bash
@@ -76,8 +76,10 @@ time gomake test
) || exit $?
(xcd ../misc/cgo/stdio
-gomake clean
-./test.bash
+if [[ $(uname | tr A-Z a-z | sed 's/mingw/windows/') != *windows* ]]; then
+ gomake clean
+ ./test.bash
+fi
) || exit $?
(xcd pkg/exp/ogle
@@ -86,14 +88,20 @@ time gomake ogle
) || exit $?
(xcd ../doc/progs
-time ./run
+if [[ $(uname | tr A-Z a-z | sed 's/mingw/windows/') != *windows* ]]; then
+ time ./run
+fi
) || exit $?
(xcd ../test/bench
-./timing.sh -test
+if [[ $(uname | tr A-Z a-z | sed 's/mingw/windows/') != *windows* ]]; then
+ ./timing.sh -test
+fi
) || exit $?
(xcd ../test
-./run
+if [[ $(uname | tr A-Z a-z | sed 's/mingw/windows/') != *windows* ]]; then
+ ./run
+fi
) || exit $?