summaryrefslogtreecommitdiff
path: root/ocaml-binary-annot/ocamlbuild/test/test11/test.sh
blob: ed3f9087310e411e643f208df1e10511b7d8d091 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
cd `dirname $0`
set -e
set -x
CMDOTPS="" # -- command args
BUILD="../../_build/ocamlbuild.native -I a -I b aa.byte aa.native -no-skip -classic-display $@"
BUILD1="$BUILD $CMDOPTS"
BUILD2="$BUILD -verbose 0 -nothing-should-be-rebuilt $CMDOPTS"
rm -rf _build
$BUILD1
echo looks if libs are there
ls _build/b/libb.cma _build/b/libb.cmxa _build/b/libb.a
$BUILD2