Add JNA debug_load to gradle script

This commit is contained in:
Sudarsan Balaji 2021-10-14 00:06:05 +05:30
parent 279f304d5d
commit 6093a8750b

View File

@ -17,7 +17,7 @@ help()
}
test_kotlin() {
(cd bindings/bdk-kotlin && ./gradlew test)
(cd bindings/bdk-kotlin && ./gradlew test -Djna.debug_load=true)
}
if [ $1 = "-h" ]
@ -25,14 +25,14 @@ then
help
else
cargo test
# optional tests
while [ -n "$1" ]; do # while loop starts
case "$1" in
case "$1" in
-h) help ;;
-k) test_kotlin ;;
*) echo "Option $1 not recognized" ;;
esac
shift
done
fi
fi