$ sudo apt install libcairo2-dev
$ git clone [email protected]:thierry-f-78/pie.git
$ cd pie
$ sudo make install DESTDIR=/usr/local/
$ git submodule update --init --depth 1
$ dune exec -- testcomp/testcomp.exe
You can additionally specify a timeout:
$ dune exec -- testcomp/testcomp.exe 5 # timeout of 5 seconds
A folder testcomp-results-YYYY-MM-DD_HHhMMhSSs
has been created with a lot of output. It contains results-report/index.html
which is the recommended way to visualize the results.
You can set up the script to notify you or a stream on Zulip using the Zulip Slack incoming webhook integration.
For information on creating webhooks, see this.
Next, just set the ZULIP_WEBHOOK
environment variable with the generated webhook and launch the script:
export ZULIP_WEBHOOK="https://saussice.zulipchat.com/api/v1/external/slack_incoming?api_key=...&stream=germany&topic=bratwurst"
dune exec ./testcomp/testcomp.exe
$ dune exec -- report/bin/report.exe testcomp/results # this is an example of an old run, use the correct file instead
A folder results-report
should be available in the working directory with the index.html
file that contains the results.
$ dune exec diff/diff.exe -- results1 results2