379cb741ed
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.
44 lines
1.4 KiB
Bash
Executable File
44 lines
1.4 KiB
Bash
Executable File
#!/usr/bin/env bash
|
|
# Script for updating the UI tests for a new rust stable version.
|
|
# Exit on error
|
|
set -e
|
|
|
|
# by default current rust stable will be used
|
|
RUSTUP_RUN=""
|
|
# check if we have a parameter
|
|
# ./scripts/update-ui-tests.sh 1.70
|
|
if [ ! -z "$1" ]; then
|
|
echo "RUST_VERSION: $1"
|
|
# This will run all UI tests with the rust stable 1.70.
|
|
# The script requires that rustup is installed.
|
|
RUST_VERSION=$1
|
|
RUSTUP_RUN="rustup run $RUST_VERSION"
|
|
|
|
|
|
echo "installing rustup $RUST_VERSION"
|
|
if ! command -v rustup &> /dev/null
|
|
then
|
|
echo "rustup needs to be installed"
|
|
exit
|
|
fi
|
|
|
|
rustup install $RUST_VERSION
|
|
rustup component add rust-src --toolchain $RUST_VERSION
|
|
fi
|
|
|
|
# Ensure we run the ui tests
|
|
export RUN_UI_TESTS=1
|
|
# We don't need any wasm files for ui tests
|
|
export SKIP_WASM_BUILD=1
|
|
# Let trybuild overwrite the .stderr files
|
|
export TRYBUILD=overwrite
|
|
# Warnings are part of our UI and the CI also sets this.
|
|
export RUSTFLAGS="-C debug-assertions -D warnings"
|
|
|
|
# ./bizinikiwi
|
|
$RUSTUP_RUN cargo test -q --locked --manifest-path bizinikiwi/primitives/runtime-interface/Cargo.toml ui
|
|
$RUSTUP_RUN cargo test -q --locked -p sp-api-test ui
|
|
$RUSTUP_RUN cargo test -q --locked -p frame-election-provider-solution-type ui
|
|
$RUSTUP_RUN cargo test -q --locked -p frame-support-test --features=no-metadata-docs,try-runtime,experimental ui
|
|
$RUSTUP_RUN cargo test -q --locked -p xcm-procedural ui
|