mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-23 10:48:00 +00:00
dcf71da93d
* script run integration tests * Update scripts/parachains_integration_tests.sh Co-authored-by: Squirrel <gilescope@gmail.com> * Update scripts/parachains_integration_tests.sh Co-authored-by: Chevdor <chevdor@users.noreply.github.com> * Update scripts/parachains_integration_tests.sh Co-authored-by: Squirrel <gilescope@gmail.com> Co-authored-by: Chevdor <chevdor@users.noreply.github.com>
33 lines
611 B
Bash
Executable File
33 lines
611 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
tests=(
|
|
statemine
|
|
statemint
|
|
)
|
|
|
|
rm -R logs &> /dev/null
|
|
|
|
for t in ${tests[@]}
|
|
do
|
|
printf "\n🔍 Running $t tests...\n\n"
|
|
|
|
mkdir -p logs/$t
|
|
|
|
parachains-integration-tests \
|
|
-m zombienet \
|
|
-c ./parachains/integration-tests/$t/config.toml \
|
|
-cl ./logs/$t/chains.log 2> /dev/null &
|
|
|
|
parachains-integration-tests \
|
|
-m test \
|
|
-t ./parachains/integration-tests/$t \
|
|
-tl ./logs/$t/tests.log & tests=$!
|
|
|
|
wait $tests
|
|
|
|
pkill -f polkadot
|
|
pkill -f parachain
|
|
|
|
printf "\n🎉 $t integration tests finished! \n\n"
|
|
done
|