ocaml-calendar/tests/basic-test.sh
Richard W.M. Jones 2e4ce3e749 Add RHEL gating test
(cherry picked from commit e00b4bbeaa7fe421331f0e52cdc6a10039f7c7b6)
2024-06-19 14:35:14 +01:00

9 lines
208 B
Bash
Executable File

#!/bin/bash -
set -e
set -x
# Compile trivial calendar program.
echo 'CalendarLib.Calendar.Period.make 0 0 0 1 0 0' > caltest.ml
ocamlfind ocamlopt -package calendar caltest.ml -linkpkg -o caltest
./caltest