Skip to content
Test suite for CKB VM, kept in a separate project to avoid polluting the vm repo with submodules
Shell Rust
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
binary
ckb-vm-bench-scripts @ c2f2c29
riscv-compliance @ a44263a
riscv-tests @ cd7d372
.gitignore
.gitmodules
LICENSE
README.md
azure-pipelines.yml
test.sh

README.md

ckb-vm-test-suite

Build Status

Test suite for CKB VM, kept in a separate project to avoid polluting the vm repo with submodules

How to run this

First, make sure you have RISCV GNU toolchain installed. The environment variable RISCV should point to the path where you install RISCV GNU toolchain. To test this, make sure the following command works:

$ ls $RISCV/bin/riscv64-unknown-elf-gcc

Now you can run the test suite with the following steps:

$ git clone https://github.com/nervosnetwork/ckb-vm-test-suite
$ git submodule update --init --recursive
$ export PATH=$RISCV/bin:$PATH
$ ./test.sh

If you see All tests are passed! printed at the end, it means all tests are passed on current CKB VM, otherwise check the outputs for where it goes wrong.

You can’t perform that action at this time.