File tree 2 files changed +3
-5
lines changed
compiler/test/dotty/tools/vulpix
2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -55,14 +55,14 @@ trait ParallelTesting extends RunnerOrchestration { self =>
55
55
56
56
def runClassPath : String = outDir.getAbsolutePath + " :" + flags.runClassPath
57
57
58
- def title : String = ( self match {
58
+ def title : String = self match {
59
59
case self : JointCompilationSource =>
60
60
if (self.files.length > 1 ) name
61
61
else self.files.head.getPath
62
62
63
63
case self : SeparateCompilationSource =>
64
64
self.dir.getPath
65
- }).stripPrefix( " ../ " )
65
+ }
66
66
67
67
/** Adds the flags specified in `newFlags0` if they do not already exist */
68
68
def withFlags (newFlags0 : String * ) = {
Original file line number Diff line number Diff line change @@ -496,9 +496,7 @@ object Build {
496
496
),
497
497
498
498
// For convenience, change the baseDirectory when running the compiler
499
- baseDirectory in (Compile , run) := baseDirectory.value / " .." ,
500
- // .. but not when running test
501
- baseDirectory in (Test , run) := baseDirectory.value,
499
+ baseDirectory in run := baseDirectory.value / " .." ,
502
500
503
501
test in Test := {
504
502
// Exclude legacy tests by default
You can’t perform that action at this time.
0 commit comments