2017-07-18 15:44:34 +02:00
|
|
|
#!/bin/bash
|
2018-02-13 16:21:24 +01:00
|
|
|
set -e # fail on any error
|
|
|
|
set -u # treat unset variables as error
|
|
|
|
|
2017-07-18 15:44:34 +02:00
|
|
|
cargo build -j $(nproc) --release --features final $CARGOFLAGS
|
|
|
|
git clone https://github.com/paritytech/parity-import-tests
|
|
|
|
cp target/release/parity parity-import-tests/aura/parity
|
|
|
|
cd parity-import-tests/aura
|
|
|
|
echo "Start Aura test"
|
2018-02-14 12:39:08 +01:00
|
|
|
./parity import blocks.rlp --chain chain.json
|
|
|
|
./parity restore snap --chain chain.json
|
2017-07-18 15:44:34 +02:00
|
|
|
echo "Aura test complete"
|