summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtest/bin/scala-test7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/bin/scala-test b/test/bin/scala-test
index d95956f8e3..c548b57438 100755
--- a/test/bin/scala-test
+++ b/test/bin/scala-test
@@ -208,8 +208,9 @@ test_compilation_failure() {
}
test_msil() {
- IL_FILE="prog.il"
- PE_FILE="prog.EXE"
+ ASSEM="Test"
+ IL_FILE=${ASSEM}".il"
+ PE_FILE=${ASSEM}".EXE"
ILASM=ilasm
ILASM_ARGS="/qui /nol /out=${PE_FILE}"
@@ -220,7 +221,7 @@ test_msil() {
rm -f $IL_FILE
rm -f $PE_FILE
- $SOCOS -target:msil $FLAGS "$source" &&
+ $SOCOS -nowarn -target:msil -o ${ASSEM} $FLAGS "$source" &&
${ILASM} ${ILASM_ARGS} ${IL_FILE} > /dev/null &&
if [ ! $? ] ; then