summaryrefslogtreecommitdiff
path: root/test/bin
diff options
context:
space:
mode:
authorpaltherr <paltherr@epfl.ch>2004-03-03 13:02:42 +0000
committerpaltherr <paltherr@epfl.ch>2004-03-03 13:02:42 +0000
commit67089f9e05c90c5ae484b614ee8c64cf0cb62052 (patch)
tree80c0156a4296086f0684b10f158751285d184eb9 /test/bin
parent94ce263ccbdd5e2362d7c3511290ed15b30332aa (diff)
downloadscala-67089f9e05c90c5ae484b614ee8c64cf0cb62052.tar.gz
scala-67089f9e05c90c5ae484b614ee8c64cf0cb62052.tar.bz2
scala-67089f9e05c90c5ae484b614ee8c64cf0cb62052.zip
- Replaced "java" by "scala"
Diffstat (limited to 'test/bin')
-rwxr-xr-xtest/bin/scala-test13
1 files changed, 6 insertions, 7 deletions
diff --git a/test/bin/scala-test b/test/bin/scala-test
index 4628c1d51b..624a635c0a 100755
--- a/test/bin/scala-test
+++ b/test/bin/scala-test
@@ -127,7 +127,7 @@ test_shell() {
test_compilation() {
output="$OBJDIR"/`expr "$source" : "\(.*\)\\.scala"`-$KIND.obj;
- classpath="$SCALA:$output";
+ classpath="$output";
if $CYGWIN; then
classpath=`cygpath -w -p "$classpath"`;
os_output=`cygpath -w "$output"`;
@@ -137,7 +137,7 @@ test_compilation() {
rm -rf "$output";
mkdir -p "$output" &&
$SOCOS -d "$os_output" $TEST_FLAGS $FLAGS "$source" &&
- java -classpath "$classpath" Test "jvm" &&
+ $SCALA -classpath "$classpath" Test "jvm" &&
rm -rf "$output";
}
@@ -146,8 +146,7 @@ test_xml() {
dtdfile="`expr "$source" : "\(.*\)\\.scala"`.dtd";
xmlfile="`expr "$source" : "\(.*\)\\.scala"`.xml";
objfile="$output/dtd.scala";
-# classpath="$SCALA:$output:`$SCALA_INFO --default XERCES_CLASSES`";
- classpath="$SCALA:$output";
+ classpath="$output";
if $CYGWIN; then
classpath=`cygpath -w -p "$classpath"`;
os_output=`cygpath -w "$output"`;
@@ -158,7 +157,7 @@ test_xml() {
mkdir -p "$output" &&
$DTD2SCALA -d "$os_output" "$dtdfile" dtd &&
$SOCOS -d "$os_output" $TEST_FLAGS $FLAGS "$objfile" "$source" &&
- java -classpath "$classpath" Test "$xmlfile" &&
+ $SCALA -classpath "$classpath" Test "$xmlfile" &&
rm -rf "$output";
}
@@ -295,7 +294,7 @@ test_all() {
printf_outline "Test configuration\\n";
printf_outline "socos executable: "; echo "$SOCOS";
printf_outline "surus executable: "; echo "$SURUS";
- printf_outline "scala runtime : "; echo "$SCALA";
+ printf_outline "scala executable: "; echo "$SCALA";
echo "";
test_one "Testing jvm backend" \
@@ -531,7 +530,7 @@ main() {
color_initialization "${COLOR:-many}";
find_program SOCOS scalac;
find_program SURUS scalarun;
- find_runtime SCALA $SOCOS;
+ find_program SCALA scala;
find_program DTD2SCALA dtd2scala;
find_program SCALA_INFO scala-info;