summaryrefslogtreecommitdiff
path: root/test-nsc
diff options
context:
space:
mode:
authormichelou <michelou@epfl.ch>2005-12-09 18:19:20 +0000
committermichelou <michelou@epfl.ch>2005-12-09 18:19:20 +0000
commitf21a82085951620495137cad8ee1a6698b48ee55 (patch)
treedf0e3eb0c42bef77bb0ddaf700e0913ad7dd6959 /test-nsc
parentd5d245559d73e797677a2d06fc6b8d5c9d88a88b (diff)
downloadscala-f21a82085951620495137cad8ee1a6698b48ee55.tar.gz
scala-f21a82085951620495137cad8ee1a6698b48ee55.tar.bz2
scala-f21a82085951620495137cad8ee1a6698b48ee55.zip
- added variable 'LATEST' (Cygwin/Unix switch)
Diffstat (limited to 'test-nsc')
-rw-r--r--test-nsc/scalanstest13
1 files changed, 9 insertions, 4 deletions
diff --git a/test-nsc/scalanstest b/test-nsc/scalanstest
index 473510f830..91f7377e68 100644
--- a/test-nsc/scalanstest
+++ b/test-nsc/scalanstest
@@ -453,10 +453,15 @@ FILES_POS="";
FILES_NEG="";
FILES_MSIL="";
-SCALA="$PREFIX/distribs/unix/latest/bin/ns";
-# SOCOS="$PREFIX/distribs/unix/latest/bin/nsc -verbose";
-SOCOS="$PREFIX/distribs/unix/latest/bin/nsc -classpath /tmp/newclasses:$HOME/scala/build/nslib.jar:$HOME/scala/sources:$HOME/scala/newsources:/home/linuxsoft/apps/fjbg/jars/fjbg.jar:/home/linuxsoft/apps/msil/msil.jar"
-SCALAP="$PREFIX/distribs/unix/latest/bin/nsp";
+case `uname` in
+ CYGWIN* ) LATEST="$PREFIX/distribs/windows/latest";;
+ * ) LATEST="$PREFIX/distribs/unix/latest";;
+esac;
+
+SCALA="$LATEST/bin/ns";
+SOCOS="$LATEST/bin/nsc";
+#SOCOS="$LATEST/bin/nsc -classpath /tmp/newclasses:$HOME/scala/build/nslib.jar:$HOME/scala/sources:$HOME/scala/newsources:/home/linuxsoft/apps/fjbg/jars/fjbg.jar:/home/linuxsoft/apps/msil/msil.jar"
+SCALAP="$LATEST/bin/nsp";
DIFF="diff";
case `uname` in