Skip to content

Commit 2c79f03

Browse files
committed
Bindings: use built libwsman in Perl, Python, and Java tests
1 parent a64578b commit 2c79f03

File tree

3 files changed

+9
-3
lines changed
  • bindings

3 files changed

+9
-3
lines changed

bindings/java/tests/run

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,6 @@
44
#
55
# Usage: run <dir> <file>
66
#
7-
(cd $1; java -Djava.library.path=`pwd` $2)
7+
(cd $1;
8+
f=`dirname $0`;
9+
LD_LIBRARY_PATH=$f/../../../build/src/lib java -Djava.library.path=`pwd` $2)

bindings/perl/tests/run

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,6 @@
44
#
55
# Usage: run <dir> <file>
66
#
7-
(cd $1; perl $2)
7+
(cd $1;
8+
f=`dirname $0`;
9+
LD_LIBRARY_PATH=$f/../../../build/src/lib perl $2)

bindings/python/tests/run

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,6 @@
44
#
55
# Usage: run <dir> <file>
66
#
7-
(cd $1; python $2)
7+
(cd $1;
8+
f=`dirname $0`;
9+
LD_LIBRARY_PATH=$f/../../../build/src/lib python $2)

0 commit comments

Comments
 (0)