From 365acfe04b4d5398f722c4ab2f502c10811c3344 Mon Sep 17 00:00:00 2001 From: michelou Date: Mon, 1 May 2006 13:37:41 +0000 Subject: fixed destination path in batch file test/scala... fixed destination path in batch file test/scalatest.bat --- test/scalatest.bat | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'test/scalatest.bat') 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 -- cgit v1.2.3