diff options
| author | Xavier Clerc <xavier.clerc@inria.fr> | 2010-05-05 07:13:50 +0000 |
|---|---|---|
| committer | Xavier Clerc <xavier.clerc@inria.fr> | 2010-05-05 07:13:50 +0000 |
| commit | 027bbf8ecb8a3fd2e25d97886d9801697ece15a1 (patch) | |
| tree | 48c5c1a2221ceda1136e0793d205a70c15d53975 /testsuite/tests/lib-dynlink-bytecode | |
| parent | e09a12388f32e8572f14c6a681552a864ef79930 (diff) | |
| download | ocaml-027bbf8ecb8a3fd2e25d97886d9801697ece15a1.tar.gz | |
LD_LIBRARY_PATH explicitly set for dynlink test.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10371 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'testsuite/tests/lib-dynlink-bytecode')
| -rw-r--r-- | testsuite/tests/lib-dynlink-bytecode/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/testsuite/tests/lib-dynlink-bytecode/Makefile b/testsuite/tests/lib-dynlink-bytecode/Makefile index 57cc2692e8..00ffc63ad3 100644 --- a/testsuite/tests/lib-dynlink-bytecode/Makefile +++ b/testsuite/tests/lib-dynlink-bytecode/Makefile @@ -16,17 +16,17 @@ compile: run: @printf " ... testing 'main'" - @LD_LIBRARY_PATH=. ./main plug1.cma plug2.cma > main.result + @export LD_LIBRARY_PATH=`pwd` && ./main plug1.cma plug2.cma > main.result @diff -q main.reference main.result > /dev/null || (echo " => failed" && exit 1) @echo " => passed" @printf " ... testing 'static'" - @./static > static.result + @export LD_LIBRARY_PATH=`pwd` && ./static > static.result @diff -q static.reference static.result > /dev/null || (echo " => failed" && exit 1) @echo " => passed" @printf " ... testing 'custom'" - @./custom > custom.result + @export LD_LIBRARY_PATH=`pwd` && ./custom > custom.result @diff -q custom.reference custom.result > /dev/null || (echo " => failed" && exit 1) @echo " => passed" |
