Files
pezkuwi-sdk/bridges/testing/run-test.sh
T
pezkuwichain 379cb741ed feat: Rebrand Polkadot/Substrate references to PezkuwiChain
This commit systematically rebrands various references from Parity Technologies'
Polkadot/Substrate ecosystem to PezkuwiChain within the kurdistan-sdk.

Key changes include:
- Updated external repository URLs (zombienet-sdk, parity-db, parity-scale-codec, wasm-instrument) to point to pezkuwichain forks.
- Modified internal documentation and code comments to reflect PezkuwiChain naming and structure.
- Replaced direct references to  with  or specific paths within the  for XCM, Pezkuwi, and other modules.
- Cleaned up deprecated  issue and PR references in various  and  files, particularly in  and  modules.
- Adjusted image and logo URLs in documentation to point to PezkuwiChain assets.
- Removed or rephrased comments related to external Polkadot/Substrate PRs and issues.

This is a significant step towards fully customizing the SDK for the PezkuwiChain ecosystem.
2025-12-14 00:04:10 +03:00

49 lines
1.3 KiB
Bash
Executable File

#!/usr/bin/env bash
set -e
trap 'kill -9 -$$ || echo "Environment already teared down"' SIGINT SIGTERM EXIT
test=$1
shift
# whether to use paths for zombienet+bridges tests container or for local testing
ZOMBIENET_DOCKER_PATHS=0
while [ $# -ne 0 ]
do
arg="$1"
case "$arg" in
--docker)
ZOMBIENET_DOCKER_PATHS=1
;;
esac
shift
done
export PEZKUWI_SDK_PATH=`realpath ${BASH_SOURCE%/*}/../..`
export FRAMEWORK_PATH=`realpath ${BASH_SOURCE%/*}/framework`
# set path to binaries
if [ "$ZOMBIENET_DOCKER_PATHS" -eq 1 ]; then
# otherwise zombienet uses some hardcoded paths
unset RUN_IN_CONTAINER
unset ZOMBIENET_IMAGE
export PEZKUWI_BINARY=/usr/local/bin/pezkuwi
export PEZKUWI_TEYRCHAIN_BINARY=/usr/local/bin/pezkuwi-teyrchain
export ZOMBIENET_BINARY=/usr/local/bin/zombie
export BIZINIKIWI_RELAY_BINARY=/usr/local/bin/bizinikiwi-relay
else
export PEZKUWI_BINARY=$PEZKUWI_SDK_PATH/target/release/pezkuwi
export PEZKUWI_TEYRCHAIN_BINARY=$PEZKUWI_SDK_PATH/target/release/pezkuwi-teyrchain
export ZOMBIENET_BINARY=~/local_bridge_testing/bin/zombienet
export BIZINIKIWI_RELAY_BINARY=~/local_bridge_testing/bin/bizinikiwi-relay
fi
export TEST_DIR=`mktemp -d /tmp/bridges-tests-run-XXXXX`
echo -e "Test folder: $TEST_DIR\n"
${BASH_SOURCE%/*}/tests/$test/run.sh