summaryrefslogtreecommitdiff
path: root/test/partest
diff options
context:
space:
mode:
authorSeth Tisue <seth@tisue.net>2015-11-24 08:35:38 -0500
committerSeth Tisue <seth@tisue.net>2015-11-24 08:35:38 -0500
commite8f3836578c5153fae3f9ded7c4afec6d6d3a6f8 (patch)
tree4458169015b02ecf7e29f805d0dbd6645171620a /test/partest
parent3d0cbf9d10416fab8017b5fb46af44f59ee89fd1 (diff)
parent86300fe1b3ab87b2e40616ed78709e8f03e707b5 (diff)
downloadscala-e8f3836578c5153fae3f9ded7c4afec6d6d3a6f8.tar.gz
scala-e8f3836578c5153fae3f9ded7c4afec6d6d3a6f8.tar.bz2
scala-e8f3836578c5153fae3f9ded7c4afec6d6d3a6f8.zip
Merge pull request #4864 from lrytz/merge-2.11-to-2.12-nov-24
Merge 2.11 to 2.12 nov 24
Diffstat (limited to 'test/partest')
-rwxr-xr-xtest/partest8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/partest b/test/partest
index 6f14dfe1bc..07a5de12af 100755
--- a/test/partest
+++ b/test/partest
@@ -22,6 +22,14 @@ findScalaHome () {
}
# Use tput to detect color-capable terminal.
+# (note: I have found that on Cygwin, the script sometimes dies here.
+# it doesn't happen from the Cygwin prompt when ssh'ing in to
+# jenkins-worker-windows-publish, only when I make a Jenkins job
+# that runs this script. I don't know why. it may have to do with
+# which bash flags are set (-e? -x?) and with bash flags propagating
+# from one script to another? not sure. anyway, normally in a CI
+# context we run partest through ant, not through this script, so I'm
+# not investigating further for now.)
term_colors=$(tput colors 2>/dev/null)
if [[ $? == 0 ]] && [[ $term_colors -gt 2 ]]; then
git_diff_options="--color=always --word-diff"