ocaml-libvirt/tests/basic-test.sh
2024-06-19 09:36:52 +01:00

9 lines
203 B
Bash
Executable File

#!/bin/bash -
set -e
set -x
# Compile trivial libvirt program.
echo 'print_endline Libvirt_version.version' > virttest.ml
ocamlfind ocamlopt -package libvirt virttest.ml -linkpkg -o virttest
./virttest