Skip to content
Snippets Groups Projects
Commit 67788344 authored by hondet's avatar hondet
Browse files

Restructuring tests of pipeline, using dune

parent 6644c3c8
No related branches found
No related tags found
No related merge requests found
......@@ -57,11 +57,11 @@ jobs:
opam install yojson angstrom feather cmdliner
cd proofs || exit 1
(cd split && bmake && sudo bmake install)
(cd pipeline && bmake && sudo bmake install)
(cd psnj_toolbox && make && sudo make install)
(cd pipeline && bmake && sudo bmake install)
- name: launch pipeline
run: |
cd proofs/pipeline || exit 1
bmake tests
opam exec -- dune runtest
all: test
run.out: run.sh
sh run.sh > run.out
test: run.out run.expected
@diff run.expected run.out
promote:
cp run.out run.expected
clean: run.out
.PHONY: test diff promote clean all
(test
(deps
hello.log
lambdapi.pkg
(glob_files encoding/*)
(glob_files spec/main.lp))
(name hello)
(libraries unix))
../encoding/
\ No newline at end of file
let () =
match
Unix.system
(Filename.quote_command "psnj-pipe"
[ "--qfo"; "encoding/qfo.json"; "hello.log" ])
with
| Unix.WEXITED 0 -> exit 0
| Unix.WEXITED n ->
Format.eprintf "Command exited with code %d@." n;
exit 1
| Unix.WSIGNALED _ | Unix.WSTOPPED _ ->
Format.eprintf "Command stopped by signal";
exit 2
../lambdapi.pkg
\ No newline at end of file
require open qfo.encoding.lhol qfo.encoding.pvs_cert;
symbol P: Prop;
symbol Q: Prop;
#!/bin/sh
set -euf
opam exec -- psnj-pipe --qfo=encoding/qfo.json hello.log
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment