summaryrefslogtreecommitdiff
path: root/test/scalatest.bat
diff options
context:
space:
mode:
authormichelou <michelou@epfl.ch>2006-05-01 13:37:41 +0000
committermichelou <michelou@epfl.ch>2006-05-01 13:37:41 +0000
commit365acfe04b4d5398f722c4ab2f502c10811c3344 (patch)
tree792cdd79a743f02d04bf056f1bb4096d638ac115 /test/scalatest.bat
parent5c41ae07d556ee4adda239f036220d2031a41595 (diff)
downloadscala-365acfe04b4d5398f722c4ab2f502c10811c3344.tar.gz
scala-365acfe04b4d5398f722c4ab2f502c10811c3344.tar.bz2
scala-365acfe04b4d5398f722c4ab2f502c10811c3344.zip
fixed destination path in batch file test/scala...
fixed destination path in batch file test/scalatest.bat
Diffstat (limited to 'test/scalatest.bat')
-rw-r--r--test/scalatest.bat9
1 files changed, 7 insertions, 2 deletions
diff --git a/test/scalatest.bat b/test/scalatest.bat
index f7a531520e..b8ebfa99bc 100644
--- a/test/scalatest.bat
+++ b/test/scalatest.bat
@@ -213,9 +213,13 @@ rem Tests the JVM backend.
goto :eof
:chk_test
- set _DSTDIR=%_OBJDIR%%_SRCDIR%
+ if "%_OBJDIR%"=="" (
+ set _DSTDIR=%_SRCDIR%
+ ) else (
+ set _DSTDIR=%_OBJDIR%
+ )
set _TESTNAME=%~n1
- set _DSTBASE=%_DSTDIR%%_TESTNAME%-%_KIND%
+ set _DSTBASE=%_DSTDIR%\%_TESTNAME%-%_KIND%
set _LOGFILE=%_DSTBASE%.log
if not '%_HEADER%'=='' call :prt_header %_HEADER% & set _HEADER=
@@ -226,6 +230,7 @@ rem Tests the JVM backend.
goto :eof
:status
call :prt_status %_KIND% %~nx1
+ del /s/q %_LOGFILE% 1>NUL
goto :eof
:chk_file