File tree 2 files changed +3
-3
lines changed 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -216,8 +216,8 @@ if (taskConfigsFolder) {
216
216
217
217
for ( let i = 0 ; i < workerCount ; i ++ ) {
218
218
const config = workerConfigs [ i ] ;
219
- // use last worker to run unit tests
220
- config . runUnitTests = i === workerCount - 1 ;
219
+ // use last worker to run unit tests if we're not just running a single specific runner
220
+ config . runUnitTests = runners . length !== 1 && i === workerCount - 1 ;
221
221
Harness . IO . writeFile ( ts . combinePaths ( taskConfigsFolder , `task-config${ i } .json` ) , JSON . stringify ( workerConfigs [ i ] ) ) ;
222
222
}
223
223
}
Original file line number Diff line number Diff line change @@ -263,7 +263,7 @@ class RWCRunner extends RunnerBase {
263
263
*/
264
264
public initializeTests ( ) : void {
265
265
// Read in and evaluate the test list
266
- const testList = this . enumerateTestFiles ( ) ;
266
+ const testList = this . tests && this . tests . length ? this . tests : this . enumerateTestFiles ( ) ;
267
267
for ( let i = 0 ; i < testList . length ; i ++ ) {
268
268
this . runTest ( testList [ i ] ) ;
269
269
}
You can’t perform that action at this time.
0 commit comments