File: README

package info (click to toggle)
ott 0.34%2Bds-3
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 6,440 kB
  • sloc: ml: 25,103; makefile: 1,375; awk: 736; lisp: 183; sh: 14; sed: 4
file content (31 lines) | stat: -rw-r--r-- 1,339 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
This is infrastructure for regression testing the Ott implementation (by FZN, but this README is much later by PS; it might be wrong).

`./regression`, from `regression.ml`, runs Ott on a set of tests and runs Coq, Isabelle, HOL4, OCaml, and Latex on the generated code. 



This is infrastructure for regression testing the Ott implementation (by FZN, but this README is much later by PS).

`./regression`, from `regression.ml`, runs Ott on a set of tests and runs Coq, Isabelle, HOL4, OCaml, and Latex on the generated code.   For some tests, not all of those are intended to work, so this is set up to either compute and save a baseline or to compare against such a baseline.  Baselines are in some internal `.bl` format, but can be pretty-printed with the `-dump_baseline` option. Here in each backend column the first `+`/`-` records whether Ott successfully generated that output and the second `+`/`-` whether the relevant tool successfully built it.

```
Coq CoqNL Isa  HOL OCaml LaTeX
[...]
 + +  + -  + -  + +  + +  + + ../tests/test10.ott
 + +  + -  + -  + +  -    + + ../tests/test10st.ott
[...] 
```


`./regression -help` shows the command-line options. 


$ ./regression -baseline -todo_list

computes a new baseline for all packages.

$ ./regression -dump_baseline

dumps the baseline

$ ./regression -baseline  <test.ott>