Debian Codegraph @

debian/tests/test-native

raw
1 #!/bin/bash
2
3 set -e
4
5 cd "$(dirname "$0")/../.."
6
7 if [ -x '/usr/bin/ocamlopt' ]
8 then
9 ocamlfind ocamlopt -o test -linkpkg -package ptmap test.ml
10
11 echo build ok
12
13 ./test
14
15 echo run ok
16 else
17 echo skip test since no ocamlopt was found
18 fi