summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authormihaylov <mihaylov@epfl.ch>2004-06-04 15:35:29 +0000
committermihaylov <mihaylov@epfl.ch>2004-06-04 15:35:29 +0000
commit4c6e4e319b7ff3d9d9650032bfee332fc7273767 (patch)
tree82861d24c93d57bc98784dff9cc19618aec1d0a8 /test
parent53445e748ade5da3a887b2b57cbab086306bf669 (diff)
downloadscala-4c6e4e319b7ff3d9d9650032bfee332fc7273767.tar.gz
scala-4c6e4e319b7ff3d9d9650032bfee332fc7273767.tar.bz2
scala-4c6e4e319b7ff3d9d9650032bfee332fc7273767.zip
- small fix in the MSIL part
Diffstat (limited to 'test')
-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