summaryrefslogtreecommitdiff
path: root/Chalice/tests/examples
Commit message (Collapse)AuthorAge
* Chalice: added list segment exampleGravatar Unknown2012-09-03
|
* Chalice: Move list-revers.chalice test case to examples, and remove failing ↵Gravatar stefanheule2012-05-24
| | | | parts of that test case (they are now reported as workitem 10221). Also, the assertion is now written as a postcondition.
* MergeGravatar Christian Klauser2012-03-27
|\
* | Update test script shortcuts to work in Powershell (which supplies an ↵Gravatar Christian Klauser2012-03-27
| | | | | | | | absolute path as %0 instead of just the scripts name)
| * Semi-automatic merge.Gravatar stefanheule2012-02-25
| |\ | |/ |/|
| * Chalice: update reference output of AssocitationList (to remove bogus fail)Gravatar stefanheule2012-02-25
| |
* | Chalice: Added missing reference output for AVLTree examplesGravatar mschwerhoff2011-09-27
| |
* | Added Uri Juhasz' AVL-treesGravatar Unknown2011-09-08
|/
* Chalice: Add comment to a broken test-case.Gravatar stefanheule2011-08-04
|
* Chalice: Add regression tests for all fixed bugs and separate the tests in ↵Gravatar stefanheule2011-08-03
| | | | 'examples' into "read" examples and general tests.
* Chalice: only show warning about misleading smoke warnings if there are ↵Gravatar stefanheule2011-08-03
| | | | actually smoke warnings.
* Chalice: Check definedness of where-clause of channels (was missing before), ↵Gravatar stefanheule2011-07-22
| | | | and smoke test for 'false' where clauses. Due to the missing definedness check, a mistake in the specification of CopyLessMessagePassing-with-ack2.chalice was not detected (and has been fixed now).
* Chalice: Improve smoke testing: look for preconditions of functions, ↵Gravatar stefanheule2011-07-22
| | | | predicates and monitor invariants that are equivalent to false, and add a command line option "/smokeAll" to insert 'assert false' after *every* Chalice statement.
* Chalice: Only show the "first" smoke warning, as once the prover is able to ↵Gravatar stefanheule2011-07-21
| | | | | | | show false, all follwoing attempts will always succeed. However, smoke warnings on different paths through a method are still all reported. Also, the places where to insert "assert false" are chosen more carefully (essentially always all statements that inhale something). Update test reference outputs accordingly.
* Chalice: Use "/smoke" for the test suite by default to ensure test quality. ↵Gravatar stefanheule2011-07-20
| | | | Update all reference outputs accordingly.
* Chalice: Fix all three copyless message passing programs. There were ↵Gravatar stefanheule2011-07-19
| | | | problems in the specification (all three programs) and the program itself ("..with-ack2"). Furthermore, if only two types of messages can be sent, a boolean flag is now used instead of an integer (to simplify the specifications).
* Chalice: Fix batch file problem and update reference output.Gravatar stefanheule2011-07-19
|
* Chalice: Smoke testing to find unreachable code, preconditions that are ↵Gravatar stefanheule2011-07-18
| | | | equivalent to false and assumptions that introduce contradictions. Can be used with the command line switch "-smoke".
* Chalice: Allow _ as wildcard in the eval construct for parameters. Usage is ↵Gravatar stefanheule2011-07-07
| | | | demonstrated in a new test case.
* Chalice: Four new interesting Chalice examples (added to test suite with the ↵Gravatar stefanheule2011-07-05
| | | | correct reference output). The example FictionallyDisjointCells.chalice is due to Yannis Kassios. Small fix to test script.
* Chalice: Completely switch to new testing scripts (more flexible and ↵Gravatar stefanheule2011-07-05
| | | | fine-grained testing) and remove old test.bat. New testing scripts are described in Chalice/tests/readme.txt.
* Chalice: New permission model that provides more abstraction and more ↵Gravatar stefanheule2011-07-01
flexibility. Details of the model can be found in the paper 'Fractional Permissions without the Fractions', FTfJP 2011 (see http://www.pm.inf.ethz.ch/publications/). This changeset also fixes several bugs not directly related to the permissions model and improves the error handling. The following features have been added or enhanced: - Error handling: If exceptions (e.g. about not supported features) are encountered, a user-friendly message is displayed - Sequence axioms: There is an additional axiom for singleton lists, which is helpful in some cases - Prelude: Chalice's prelude has been split into sections (e.g. one for permission-related stuff, one for sequence axioms, and so on), which are included on demand (less superfluous axioms, etc.) Currently not working - but planned to be updated as well - are the following features: - Stepwise refinements - autoFold - read locks There is a performance issue with permission scaling (i.e., taking non-full versions of predicates that contain read-permissions). Details can be found in the following file: Chalice/tests/permission-model/scaling.chalice. A list of fixed bugs (see http://boogie.codeplex.com/workitem/<workitem number> for details on the individual bugs) - workitem 10200: Issue with the axiom of framing functions - workitem 10197: The translation of old(waitlevel) resultet in Boogie error - workitem 10196: Quantification over empty sequences - workitem 10195: Contradiction when descending sequences are used - workitem 10192: Invalid translation of old-construct in certain cases - workitem 10190: Stack overflow when parsing large comment blocks - workitem 10147: Duplicated method parameters and return values are not detected