test: make prerequisite lanes fail honestly
This commit is contained in:
parent
dfc841b779
commit
6faeb4a103
113 changed files with 424 additions and 336 deletions
|
|
@ -14,7 +14,7 @@ public sealed class LauncherProcessSupervisorTests
|
|||
{
|
||||
if (!OperatingSystem.IsWindows())
|
||||
{
|
||||
return;
|
||||
throw new PlatformNotSupportedException("Lane=Windows requires a Windows host.");
|
||||
}
|
||||
|
||||
var factory = new SystemChildProcessFactory();
|
||||
|
|
@ -162,7 +162,7 @@ public sealed class LauncherProcessSupervisorTests
|
|||
// exit code, so ExitCode == 0 is a hermetic proof the graceful
|
||||
// path is what actually stopped the child.
|
||||
if (!OperatingSystem.IsLinux())
|
||||
return;
|
||||
throw new PlatformNotSupportedException("Lane=Linux requires a native Linux host.");
|
||||
|
||||
string readyMarker = Path.Combine(
|
||||
Path.GetTempPath(), "acdream-la3-sigint-" + Guid.NewGuid().ToString("N"));
|
||||
|
|
@ -228,7 +228,7 @@ public sealed class LauncherProcessSupervisorTests
|
|||
{
|
||||
if (!OperatingSystem.IsWindows())
|
||||
{
|
||||
return;
|
||||
throw new PlatformNotSupportedException("Lane=Windows requires a Windows host.");
|
||||
}
|
||||
|
||||
string root = Path.Combine(
|
||||
|
|
@ -324,7 +324,7 @@ public sealed class LauncherProcessSupervisorTests
|
|||
{
|
||||
if (!OperatingSystem.IsWindows())
|
||||
{
|
||||
return;
|
||||
throw new PlatformNotSupportedException("Lane=Windows requires a Windows host.");
|
||||
}
|
||||
|
||||
string root = Path.Combine(
|
||||
|
|
@ -671,7 +671,7 @@ public sealed class LauncherProcessSupervisorTests
|
|||
// on a background thread. This proves that path end to end too.
|
||||
if (!OperatingSystem.IsWindows())
|
||||
{
|
||||
return;
|
||||
throw new PlatformNotSupportedException("Lane=Windows requires a Windows host.");
|
||||
}
|
||||
|
||||
string root = Path.Combine(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue