workerwork / zcore-tests

Test scripts for zCore OS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

zcore-tests

Test scripts for zCore OS.

Setup

You MUST put this repository under the root directory of zCore.

Linux libc tests

usage: python3 linux_libc_test.py [-h] [-l] [-a {x86_64,riscv64}] [-f] [-t TEST]

optional arguments:
  -h, --help            show this help message and exit
  -l, --libos           test on libos mode (otherwise bare-metal mode, x86_64 only)
  -a {x86_64,riscv64}, --arch {x86_64,riscv64}
                        target architecture
  -f, --fast            do not test known failed and timeout testcases
  -t TEST, --test TEST  run only one test

Zircon core tests (x86_64 only)

usage: python3 zircon_core_test.py [-h] [-l] [-f] [-t TEST]

optional arguments:
  -h, --help            show this help message and exit
  -l, --libos           test on libos mode (otherwise bare-metal mode)
  -f, --fast            do not test known failed and timeout testcases
  -t TEST, --test TEST  run only one test

d1 libc test

# usage:
python linux_libc_test-board.py -a riscv64 -f -b d1 -D /dev/ttyUSB0
  # 运行所在testcases/linux_libc_test/riscv64_d1.txt里状态为OK的测例
python linux_libc_test-board.py -a riscv64 -t <testcase>
  # 运行单个测例<testcase>

About

Test scripts for zCore OS


Languages

Language:Python 55.2%Language:C 38.5%Language:Shell 4.1%Language:Makefile 1.2%Language:Rust 1.1%