Skip to content

Commit

Permalink
Undo change
Browse files Browse the repository at this point in the history
  • Loading branch information
keyboardDrummer committed Apr 18, 2024
1 parent 43283b3 commit 87dcec4
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions Source/TestDafny/MultiBackendTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,6 @@ private async Task<int> RunWithCompiler(ForEachCompilerOptions options, IExecuta

var (exitCode, outputString, error) = await RunDafny(options.DafnyCliPath, dafnyArgs);
var compilationOutputPrior = new Regex("\r?\nDafny program verifier[^\r\n]*\r?\n").Match(outputString);

if (compilationOutputPrior.Success) {
outputString = outputString.Remove(0, compilationOutputPrior.Index + compilationOutputPrior.Length);
}
Expand Down Expand Up @@ -375,11 +374,6 @@ private async Task<int> RunWithCompiler(ForEachCompilerOptions options, IExecuta
return checkResult;
}

// If we hit errors, check for known unsupported features or bugs for this compilation target
if (error == "" && OnlyAllowedOutputLines(backend, outputString)) {
return 0;
}

await output.WriteLineAsync("Execution failed, for reasons other than known unsupported features. Output:");
await output.WriteLineAsync(outputString);
await output.WriteLineAsync("Error:");
Expand Down

0 comments on commit 87dcec4

Please sign in to comment.