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