From fbc8a6506c87c034ca7b8bcdab864fc8e820fe34 Mon Sep 17 00:00:00 2001 From: Wesley Wigham Date: Tue, 17 Oct 2017 13:40:52 -0700 Subject: [PATCH] This wasnt required before... --- src/harness/compilerRunner.ts | 2 +- src/harness/projectsRunner.ts | 2 +- src/harness/rwcRunner.ts | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/harness/compilerRunner.ts b/src/harness/compilerRunner.ts index 79695639fd8d0..a567c1c9e384e 100644 --- a/src/harness/compilerRunner.ts +++ b/src/harness/compilerRunner.ts @@ -48,7 +48,7 @@ class CompilerBaselineRunner extends RunnerBase { } public checkTestCodeOutput(fileName: string) { - describe("compiler tests for " + fileName, () => { + describe(`${this.testSuiteName} tests for ${fileName}`, () => { // Mocha holds onto the closure environment of the describe callback even after the test is done. // Everything declared here should be cleared out in the "after" callback. let justName: string; diff --git a/src/harness/projectsRunner.ts b/src/harness/projectsRunner.ts index ceab3ae8f3b82..cc68f8625f43f 100644 --- a/src/harness/projectsRunner.ts +++ b/src/harness/projectsRunner.ts @@ -443,7 +443,7 @@ class ProjectRunner extends RunnerBase { const name = "Compiling project for " + testCase.scenario + ": testcase " + testCaseFileName; - describe("Projects tests", () => { + describe("projects tests", () => { describe(name, () => { function verifyCompilerResults(moduleKind: ts.ModuleKind) { let compilerResult: BatchCompileProjectTestCaseResult; diff --git a/src/harness/rwcRunner.ts b/src/harness/rwcRunner.ts index eba845d44ec12..8fe97bb7e1209 100644 --- a/src/harness/rwcRunner.ts +++ b/src/harness/rwcRunner.ts @@ -26,7 +26,7 @@ namespace RWC { } export function runRWCTest(jsonPath: string) { - describe("Testing a RWC project: " + jsonPath, () => { + describe("Testing a rwc project: " + jsonPath, () => { let inputFiles: Harness.Compiler.TestFile[] = []; let otherFiles: Harness.Compiler.TestFile[] = []; let tsconfigFiles: Harness.Compiler.TestFile[] = []; @@ -266,6 +266,7 @@ class RWCRunner extends RunnerBase { public initializeTests(): void { // Read in and evaluate the test list const testList = this.tests && this.tests.length ? this.tests : this.enumerateTestFiles(); + for (let i = 0; i < testList.length; i++) { this.runTest(testList[i]); }