Skip to content

Commit

Permalink
test: Add tests for secp256k1_blake160_sighash_all
Browse files Browse the repository at this point in the history
  • Loading branch information
jjyr committed Jun 11, 2019
1 parent 13821a3 commit d6d811c
Show file tree
Hide file tree
Showing 7 changed files with 1,608 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,6 @@ dkms.conf
build/
c/flatbuffers_common_reader.h
c/protocol_reader.h

tests/target
tests/tmp
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@ c/protocol_reader.h: c/protocol.fbs $(FLATCC)
$(FLATCC):
cd deps/flatcc && scripts/initbuild.sh make && scripts/build.sh

ci:
docker run --rm -v `pwd`:/code xxuejie/riscv-gnu-toolchain-rv64imac:xenial-20190606 bash -c "cd /code && make"
mkdir -p tests/tmp
cp build/secp256k1_blake160_sighash_all tests/tmp/
cd tests && cargo test

clean:
rm -rf build/secp256k1_blake160_sighash_all
cd deps/flatcc && scripts/cleanall.sh
Expand Down
Binary file removed binary/secp256k1_blake160_sighash_all
Binary file not shown.
Loading

0 comments on commit d6d811c

Please sign in to comment.