diff options
author | paltherr <paltherr@epfl.ch> | 2003-03-12 15:50:58 +0000 |
---|---|---|
committer | paltherr <paltherr@epfl.ch> | 2003-03-12 15:50:58 +0000 |
commit | b078b78ebdb3b636b4006e478fca0a5d5b629a7c (patch) | |
tree | c9e740e57b6bba51bd96a9791ef5e5b56e111e89 /test/bin | |
parent | 00e8b20d836580430660c5610085de36ea61e1cd (diff) | |
download | scala-b078b78ebdb3b636b4006e478fca0a5d5b629a7c.tar.gz scala-b078b78ebdb3b636b4006e478fca0a5d5b629a7c.tar.bz2 scala-b078b78ebdb3b636b4006e478fca0a5d5b629a7c.zip |
- Added a test to avoid colors when run in emacs
Diffstat (limited to 'test/bin')
-rwxr-xr-x | test/bin/scala-test | 3 |
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; |