https://github.com/nervosnetwork/ckb-vm-test-suite
Test suite for CKB VM, kept in a separate project to avoid polluting the vm repo with submodules
https://github.com/nervosnetwork/ckb-vm-test-suite
Last synced: over 1 year ago
JSON representation
Test suite for CKB VM, kept in a separate project to avoid polluting the vm repo with submodules
- Host: GitHub
- URL: https://github.com/nervosnetwork/ckb-vm-test-suite
- Owner: nervosnetwork
- License: mit
- Created: 2019-05-08T01:31:32.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2025-03-21T12:27:26.000Z (over 1 year ago)
- Last Synced: 2025-04-10T05:19:33.880Z (over 1 year ago)
- Language: Shell
- Size: 50.8 KB
- Stars: 3
- Watchers: 8
- Forks: 8
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ckb-vm-test-suite
[](https://dev.azure.com/nervosnetwork/ckb-vm-test-suite/_build/latest?definitionId=6&branchName=master)
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](https://github.com/riscv/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:
```bash
$ ls $RISCV/bin/riscv64-unknown-elf-gcc
```
Now you can run the test suite with the following steps:
```bash
$ 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.