bdk-ffi/test.sh

15 lines
343 B
Bash
Raw Normal View History

2021-06-14 22:38:29 -07:00
#!/usr/bin/env bash
set -eo pipefail -o xtrace
# rust
cargo test --features c-headers -- generate_headers
# cc
export LD_LIBRARY_PATH=`pwd`/target/debug
#valgrind --leak-check=full --show-leak-kinds=all cc/bdk_ffi_test
cc/bdk_ffi_test
2021-06-14 22:38:29 -07:00
# bdk-kotlin
2021-06-14 22:38:29 -07:00
(cd bdk-kotlin && gradle test)
(cd bdk-kotlin && gradle :android:connectedDebugAndroidTest)