summaryrefslogtreecommitdiff
path: root/test/scalatest
diff options
context:
space:
mode:
authormichelou <michelou@epfl.ch>2007-10-08 10:22:30 +0000
committermichelou <michelou@epfl.ch>2007-10-08 10:22:30 +0000
commit9ce1dd8d50095a64a68bc86d5f5a856209eaf1f2 (patch)
tree0d1d3d325247ccb677f294a46db8ffcfe6b36395 /test/scalatest
parent4f2d5e48086568a905b1eb318700ef4fb6dad1df (diff)
downloadscala-9ce1dd8d50095a64a68bc86d5f5a856209eaf1f2.tar.gz
scala-9ce1dd8d50095a64a68bc86d5f5a856209eaf1f2.tar.bz2
scala-9ce1dd8d50095a64a68bc86d5f5a856209eaf1f2.zip
added length test to run/stream.scala
Diffstat (limited to 'test/scalatest')
-rwxr-xr-xtest/scalatest3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/scalatest b/test/scalatest
index c12a3ec1c9..a340e49b88 100755
--- a/test/scalatest
+++ b/test/scalatest
@@ -742,7 +742,8 @@ if [ "$USEFSC" = "true" ]; then
else
SCALAC_CMD="${BIN_DIR}scalac";
fi;
-if [ ! -x "$SCALAC_CMD" ]; then
+
+if [ ! -x `which $SCALAC_CMD` ]; then
printf_failure "Missing command \"$SCALAC_CMD\"; run 'ant <target>'.\\n";
exit 1;
fi;