Ziran removed the zi2zx-vm binary; the tests now run bundles on the portable VM with zi2zx run --vm, ZIRAN_ZX names the zi2zx binary and the validation receipt hashes zi2zx in its place. The toolchain lock moves to 5fe70de6, which also fixes std's Text checks under --module-path std=DIR.
12 lines
469 B
Bash
12 lines
469 B
Bash
#!/bin/sh
|
|
# Full local suite; the receipt is written only after every step passes (set -e).
|
|
set -eu
|
|
. "$(dirname -- "$0")/common.sh"
|
|
sha256sum "$ziran" "$zi2zx" > "$root/build/scratch/toolchain-before.sha256"
|
|
sh tests/contracts.sh
|
|
sh tests/corpus.sh --verify
|
|
sh tests/benchmark_contract.sh
|
|
sh tests/package_import.sh
|
|
sha256sum -c "$root/build/scratch/toolchain-before.sha256"
|
|
ZIRAN_ROOT="$toolchain" ZIRAN="$ziran" ZIRAN_ZX="$zi2zx" python3 tests/validation_receipt.py
|