summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtest/bin/scala-test3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/bin/scala-test b/test/bin/scala-test
index c825d4880b..13fa8a910a 100755
--- a/test/bin/scala-test
+++ b/test/bin/scala-test
@@ -420,6 +420,9 @@ main() {
abort "illegal non-numerical argument for option --errors";
fi;
+ if [ -z "$COLOR" -a -n "$EMACS" ]; then
+ COLOR="none";
+ fi;
color_initialization "${COLOR:-many}";
find_program SOCOS socos;
find_program SURUS surus;