summaryrefslogtreecommitdiff
path: root/test/partest
diff options
context:
space:
mode:
authormichelou <michelou@epfl.ch>2007-11-16 14:45:34 +0000
committermichelou <michelou@epfl.ch>2007-11-16 14:45:34 +0000
commitfa369bcf652e0109aa81837f426321cb763ede3c (patch)
tree631c1a126b3343b5980077ca3ff8f468d2082184 /test/partest
parent0903ca6b212cd5783cee2081c1fad19971a888ab (diff)
downloadscala-fa369bcf652e0109aa81837f426321cb763ede3c.tar.gz
scala-fa369bcf652e0109aa81837f426321cb763ede3c.tar.bz2
scala-fa369bcf652e0109aa81837f426321cb763ede3c.zip
changed some newlines
Diffstat (limited to 'test/partest')
-rwxr-xr-xtest/partest7
1 files changed, 3 insertions, 4 deletions
diff --git a/test/partest b/test/partest
index 4ced476cd9..992b79faf9 100755
--- a/test/partest
+++ b/test/partest
@@ -431,10 +431,10 @@ test_check_kind() {
[ $# -ge 2 ] || abort "internal error";
header="$1"; shift 1;
kind="$1"; shift 1;
- srcdir=`get_os_filename "$SRCDIR"`;
- resfile=`get_os_filename "$RESFILE"`;
if [ "$kind" = "res" ]; then TEST_EXT="res"; else TEST_EXT="scala"; fi;
if [ "$kind" = "testrunner" ]; then
+ srcdir=`get_os_filename "$SRCDIR"`;
+ resfile=`get_os_filename "$RESFILE"`;
javaopts=$JAVA_OPTS;
if [ -f "$os_srcbase".javaopts ]; then
javaopts="$javaopts `cat "$os_srcbase".javaopts`"
@@ -458,7 +458,7 @@ test_check_kind() {
scala.tools.partest.TestRunner $testargs $resfile 2> /dev/null;
load_results;
else
- [ "$@" ] && printf_outline "$header\\n";
+ [ "$@" ] && printf_outline "\\n$header\\n";
for file in "" "$@"; do
[ -z "$file" ] && continue;
test_check_file "$file";
@@ -850,7 +850,6 @@ else
printf_outline "Ant version is : $ant_version\\n";
fi
fi;
-printf_outline "\\n";
START_SECONDS=`date +%s`;
test_check_all;