summaryrefslogtreecommitdiff
path: root/Source/DafnyServer/Utilities.cs
diff options
context:
space:
mode:
authorGravatar Clément Pit--Claudel <clement.pitclaudel@live.com>2015-08-19 16:15:26 -0700
committerGravatar Clément Pit--Claudel <clement.pitclaudel@live.com>2015-08-19 16:15:26 -0700
commit43cbd76e07262d05434e36dff99f8d10eb59a773 (patch)
tree7f2a878e755db64d193530fe9e8f78f15b20b100 /Source/DafnyServer/Utilities.cs
parent2f5d59592c5930c32039855824cc49983f643641 (diff)
Use /tracePO instead of /trace in the server
This removes the need for special treatment of test input (/trace includes timings in the output, which are not suitable for tests. /tracePO does not)
Diffstat (limited to 'Source/DafnyServer/Utilities.cs')
-rw-r--r--Source/DafnyServer/Utilities.cs12
1 files changed, 6 insertions, 6 deletions
diff --git a/Source/DafnyServer/Utilities.cs b/Source/DafnyServer/Utilities.cs
index 3bc334b3..d6654ac1 100644
--- a/Source/DafnyServer/Utilities.cs
+++ b/Source/DafnyServer/Utilities.cs
@@ -43,18 +43,18 @@ namespace Microsoft.Dafny {
}
}
- internal static void ApplyArgs(string[] args, bool trace) {
+ internal static void ApplyArgs(string[] args) {
Dafny.DafnyOptions.Install(new Dafny.DafnyOptions());
Dafny.DafnyOptions.O.ProverKillTime = 10;
if (CommandLineOptions.Clo.Parse(args)) {
// Dafny.DafnyOptions.O.ErrorTrace = 0; //FIXME
// Dafny.DafnyOptions.O.ModelViewFile = "-";
- DafnyOptions.O.PrintTooltips = true;
- DafnyOptions.O.UnicodeOutput = true;
- DafnyOptions.O.VerifySnapshots = 2;
- DafnyOptions.O.VcsCores = Math.Max(1, System.Environment.ProcessorCount - 1);
- DafnyOptions.O.Trace = trace;
+ DafnyOptions.O.VerifySnapshots = 2; // Use caching
+ DafnyOptions.O.VcsCores = Math.Max(1, System.Environment.ProcessorCount - 1); //FIXME
+ DafnyOptions.O.PrintTooltips = true; // Dump tooptips (ErrorLevel.Info) to stdout
+ DafnyOptions.O.UnicodeOutput = true; // Use pretty warning signs
+ DafnyOptions.O.TraceProofObligations = true; // Show which method is being verified, but don't show duration of verification
} else {
throw new ServerException("Invalid command line options");
}