@@ -1034,11 +1034,11 @@ trait ParallelTesting extends RunnerOrchestration { self =>
1034
1034
}
1035
1035
1036
1036
/** Compiles a single file from the string path `f` using the supplied flags */
1037
- def compileFile (f : String , flags : TestFlags , outDirectory : String = defaultOutputDir )(implicit testGroup : TestGroup ): CompilationTest = {
1037
+ def compileFile (f : String , flags : TestFlags )(implicit testGroup : TestGroup ): CompilationTest = {
1038
1038
val sourceFile = new JFile (f)
1039
1039
val parent = sourceFile.getParentFile
1040
1040
val outDir =
1041
- outDirectory + testGroup + " /" +
1041
+ defaultOutputDir + testGroup + " /" +
1042
1042
sourceFile.getName.substring(0 , sourceFile.getName.lastIndexOf('.' )) + " /"
1043
1043
1044
1044
require(
@@ -1063,8 +1063,8 @@ trait ParallelTesting extends RunnerOrchestration { self =>
1063
1063
* By default, files are compiled in alphabetical order. An optional seed
1064
1064
* can be used for randomization.
1065
1065
*/
1066
- def compileDir (f : String , flags : TestFlags , randomOrder : Option [Int ] = None , outDirectory : String = defaultOutputDir )(implicit testGroup : TestGroup ): CompilationTest = {
1067
- val outDir = outDirectory + testGroup + " /"
1066
+ def compileDir (f : String , flags : TestFlags , randomOrder : Option [Int ] = None )(implicit testGroup : TestGroup ): CompilationTest = {
1067
+ val outDir = defaultOutputDir + testGroup + " /"
1068
1068
val sourceDir = new JFile (f)
1069
1069
checkRequirements(f, sourceDir, outDir)
1070
1070
@@ -1091,8 +1091,8 @@ trait ParallelTesting extends RunnerOrchestration { self =>
1091
1091
* `testName` since files can be in separate directories and or be otherwise
1092
1092
* dissociated
1093
1093
*/
1094
- def compileList (testName : String , files : List [String ], flags : TestFlags , outDirectory : String = defaultOutputDir )(implicit testGroup : TestGroup ): CompilationTest = {
1095
- val outDir = outDirectory + testGroup + " /" + testName + " /"
1094
+ def compileList (testName : String , files : List [String ], flags : TestFlags )(implicit testGroup : TestGroup ): CompilationTest = {
1095
+ val outDir = defaultOutputDir + testGroup + " /" + testName + " /"
1096
1096
1097
1097
// Directories in which to compile all containing files with `flags`:
1098
1098
val targetDir = new JFile (outDir)
@@ -1122,8 +1122,8 @@ trait ParallelTesting extends RunnerOrchestration { self =>
1122
1122
* - Directories can have an associated check-file, where the check file has
1123
1123
* the same name as the directory (with the file extension `.check`)
1124
1124
*/
1125
- def compileFilesInDir (f : String , flags : TestFlags , outDirectory : String = defaultOutputDir )(implicit testGroup : TestGroup ): CompilationTest = {
1126
- val outDir = outDirectory + testGroup + " /"
1125
+ def compileFilesInDir (f : String , flags : TestFlags )(implicit testGroup : TestGroup ): CompilationTest = {
1126
+ val outDir = defaultOutputDir + testGroup + " /"
1127
1127
val sourceDir = new JFile (f)
1128
1128
checkRequirements(f, sourceDir, outDir)
1129
1129
@@ -1141,8 +1141,8 @@ trait ParallelTesting extends RunnerOrchestration { self =>
1141
1141
* sub-directories and as such, does **not** perform separate compilation
1142
1142
* tests.
1143
1143
*/
1144
- def compileShallowFilesInDir (f : String , flags : TestFlags , outDirectory : String = defaultOutputDir )(implicit testGroup : TestGroup ): CompilationTest = {
1145
- val outDir = outDirectory + testGroup + " /"
1144
+ def compileShallowFilesInDir (f : String , flags : TestFlags )(implicit testGroup : TestGroup ): CompilationTest = {
1145
+ val outDir = defaultOutputDir + testGroup + " /"
1146
1146
val sourceDir = new JFile (f)
1147
1147
checkRequirements(f, sourceDir, outDir)
1148
1148
0 commit comments