e9f1b38984
* Make it possible to expose jsontests using feature flag * Add start_stop_hook for jsontests * Fix evmbin compile * Implement vm jsontests times to tsv result * Use /usr/bin/env to avoid errors on non-Debian systems * Move evmbin/bench.sh to scripts and add vm_jsontests script for convenience * Add tempdir as required deps for test-helpers * Address grumbles on comments * Detect file/folder automatically and add command docs * Fix bench script * times -> timings * typo: wrong if condition
15 lines
282 B
Bash
Executable File
15 lines
282 B
Bash
Executable File
#!/usr/bin/env sh
|
|
|
|
ERR=0
|
|
cargo build --release -p chainspec
|
|
|
|
for spec in ethcore/res/*.json; do
|
|
if ! ./target/release/chainspec "$spec"; then ERR=1; fi
|
|
done
|
|
|
|
for spec in ethcore/res/ethereum/*.json; do
|
|
if ! ./target/release/chainspec "$spec"; then ERR=1; fi
|
|
done
|
|
|
|
exit $ERR
|