Skip to content

Commit 592a213

Browse files
authored
Fix for issue #241 (#242)
Fix for issue #241
1 parent dca4c89 commit 592a213

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/Microsoft.TestPlatform.Build/Tasks/VSTestTask.cs

+3-2
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,9 @@ public override bool Execute()
7272
{
7373
Console.WriteLine("Test run for {0}({1})", this.TestFileFullPath, this.VSTestFramework);
7474
}
75-
vsTestForwardingApp.Execute();
76-
return true;
75+
76+
int returnCode = vsTestForwardingApp.Execute();
77+
return returnCode == 0 ? true : false;
7778
}
7879

7980
private string AddDoubleQuotes(string x)

0 commit comments

Comments
 (0)