summaryrefslogtreecommitdiff
path: root/ocamlbuild/test/test2
diff options
context:
space:
mode:
authorWojciech Meyer <wojciech.meyer@gmail.com>2012-12-22 01:34:19 +0000
committerWojciech Meyer <wojciech.meyer@gmail.com>2012-12-22 01:34:19 +0000
commit38dc96e0be3b0231453cd0dc9712627729d33807 (patch)
treea342084c648fb951606243b8867090adc74e2ae1 /ocamlbuild/test/test2
parent469ae8ae601952978a4293a24f8ea2e1341f4526 (diff)
downloadocaml-38dc96e0be3b0231453cd0dc9712627729d33807.tar.gz
Always store full path to ocamlbuild in a variable that is available to the sub-tests
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13152 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'ocamlbuild/test/test2')
-rwxr-xr-xocamlbuild/test/test2/test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ocamlbuild/test/test2/test.sh b/ocamlbuild/test/test2/test.sh
index 49494381b3..0843ce42e8 100755
--- a/ocamlbuild/test/test2/test.sh
+++ b/ocamlbuild/test/test2/test.sh
@@ -15,7 +15,7 @@ cd `dirname $0`
set -e
set -x
CMDOPTS="-- -help"
-BUILD="../../_build/ocamlbuild.native toto.byte toto.native -no-skip -classic-display $@"
+BUILD="$OCB toto.byte toto.native -no-skip -classic-display $@"
BUILD1="$BUILD $CMDOPTS"
BUILD2="$BUILD -verbose 0 -nothing-should-be-rebuilt $CMDOPTS"
rm -rf _build