mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 05:51:02 +00:00
6fc1d41d44
Related to https://github.com/paritytech/polkadot-sdk/issues/3400 Moving all bridges testing "framework" files under one folder in order to be able to download the entire folder when we want to add tests in other repos No significant functional changes
26 lines
745 B
Bash
Executable File
26 lines
745 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
source "${BASH_SOURCE%/*}/../../framework/utils/common.sh"
|
|
source "${BASH_SOURCE%/*}/../../framework/utils/zombienet.sh"
|
|
|
|
export ENV_PATH=`realpath ${BASH_SOURCE%/*}/../../environments/rococo-westend`
|
|
|
|
$ENV_PATH/spawn.sh --init --start-relayer &
|
|
env_pid=$!
|
|
|
|
ensure_process_file $env_pid $TEST_DIR/rococo.env 600
|
|
rococo_dir=`cat $TEST_DIR/rococo.env`
|
|
echo
|
|
|
|
ensure_process_file $env_pid $TEST_DIR/westend.env 300
|
|
westend_dir=`cat $TEST_DIR/westend.env`
|
|
echo
|
|
|
|
run_zndsl ${BASH_SOURCE%/*}/roc-reaches-westend.zndsl $westend_dir
|
|
run_zndsl ${BASH_SOURCE%/*}/wnd-reaches-rococo.zndsl $rococo_dir
|
|
|
|
run_zndsl ${BASH_SOURCE%/*}/wroc-reaches-rococo.zndsl $rococo_dir
|
|
run_zndsl ${BASH_SOURCE%/*}/wwnd-reaches-westend.zndsl $westend_dir
|