summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--testsuite/tests/lib-dynlink-bytecode/Makefile6
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"