Skip to content

Commit 48b7f22

Browse files
committed
Fix test log folder location
After #3926, test logs were outputted to the dotty project parent folder
1 parent c1b77f1 commit 48b7f22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/test/dotty/tools/dotc/reporting/TestReporter.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ object TestReporter {
8787
val date = new Date
8888
val df0 = new SimpleDateFormat("yyyy-MM-dd")
8989
val df1 = new SimpleDateFormat("yyyy-MM-dd-HH:mm:ss")
90-
val folder = s"../testlogs/tests-${df0.format(date)}"
90+
val folder = s"testlogs/tests-${df0.format(date)}"
9191
new JFile(folder).mkdirs()
9292
outFile = new JFile(s"$folder/tests-${df1.format(date)}.log")
9393
logWriter = new PrintWriter(new FileOutputStream(outFile, true))

0 commit comments

Comments
 (0)