Skip to content

Run Tests

Brice Dobry edited this page Jul 16, 2020 · 5 revisions

The v8 project has an extensive suite of tests cases. Run all of the tests using the following command. The directory specified in this command, out/riscv64.sim, should match the directory (specified when you built) of the configuration you would like to test.

cd $V8_ROOT/v8
tools/run-tests.py --outdir=out/riscv64.sim

Individual suites can be run as shown below:

tools/run-tests.py --outdir=out/riscv64.sim cctest

This repositories automated testing currently runs the following suites:

  • cctest
  • unittests
  • wasm-api-tests
  • wasm-js wasm-spec-tests
  • mjsunit
  • intl
  • message
  • debugger
  • inspector
  • mkgrokdump
Clone this wiki locally