Allow false positive rebuilds when timestamp collision occurs
Fixes #965
This commit is contained in:
parent
be4629a6a6
commit
6d1ff3af8c
6 changed files with 76 additions and 51 deletions
|
@ -89,6 +89,20 @@ namespace Microsoft.DotNet.Tools.Test.Utilities
|
|||
$"Exit Code: {_commandResult.ExitCode}{Environment.NewLine}" +
|
||||
$"StdOut:{Environment.NewLine}{_commandResult.StdOut}{Environment.NewLine}" +
|
||||
$"StdErr:{Environment.NewLine}{_commandResult.StdErr}{Environment.NewLine}"; ;
|
||||
}
|
||||
|
||||
public AndConstraint<CommandResultAssertions> HaveSkippedProjectCompilation(string skippedProject)
|
||||
{
|
||||
_commandResult.StdOut.Should().Contain($"Project {skippedProject} (DNXCore,Version=v5.0) was previously compiled. Skipping compilation.");
|
||||
|
||||
return new AndConstraint<CommandResultAssertions>(this);
|
||||
}
|
||||
|
||||
public AndConstraint<CommandResultAssertions> HaveCompiledProject(string compiledProject)
|
||||
{
|
||||
_commandResult.StdOut.Should().Contain($"Project {compiledProject} (DNXCore,Version=v5.0) will be compiled");
|
||||
|
||||
return new AndConstraint<CommandResultAssertions>(this);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue