ocaml-labltk/tests/basic-test.sh
Richard W.M. Jones 73eb2de3a9 Add RHEL gating test
Actually the test fails with:

gcc: fatal error: environment variable ‘RPM_ARCH’ not defined

I believe this is caused by the package notes implementation being
broken.  We'll need to fix that separately.
2024-06-19 09:32:43 +01:00

10 lines
248 B
Bash
Executable File

#!/bin/bash -
set -e
set -x
# Compile trivial tk program.
echo 'ignore (Tk.opentk ())' > tktest.ml
ocamlfind ocamlopt -package labltk tktest.ml -linkpkg -o tktest
# Unfortunately we can't run this as we won't have an X server available.
#./tktest