diff options
author | stefanheule <unknown> | 2011-08-03 11:24:50 +0200 |
---|---|---|
committer | stefanheule <unknown> | 2011-08-03 11:24:50 +0200 |
commit | 80c0bd8588517ff286ec3188e124b9cd5d1b0eed (patch) | |
tree | d3cfe082bbfab7321e45ab75495bf78663af401e /Chalice/src | |
parent | 4ebc8d355391100fe194da9bfcc7095269677dac (diff) |
Chalice: only show warning about misleading smoke warnings if there are actually smoke warnings.
Diffstat (limited to 'Chalice/src')
-rw-r--r-- | Chalice/src/main/scala/SmokeTest.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Chalice/src/main/scala/SmokeTest.scala b/Chalice/src/main/scala/SmokeTest.scala index 8a8f46eb..9f23d144 100644 --- a/Chalice/src/main/scala/SmokeTest.scala +++ b/Chalice/src/main/scala/SmokeTest.scala @@ -80,7 +80,7 @@ object SmokeTest { })
verificationResult +
- (if (realErrors > 0) "The program did not fully verify; the smoke warnings might be misleading if contradictions are introduced by failing proof attempts of the verification.\n" else "") +
+ (if (realErrors > 0 && smokeTestWarnings > 0) "The program did not fully verify; the smoke warnings might be misleading if contradictions are introduced by failing proof attempts of the verification.\n" else "") +
smokeResult + (if (smokeResult != "") "\n" else "") +
status
}
|