summaryrefslogtreecommitdiff
path: root/ocamlbuild/test/test4/test.sh
blob: 4b2580a8deeba04b55603680da8eae7cea975f4f (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/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
$BUILD2