Go to file
shzhxh 4fe16bcccf test 2022-11-18 15:39:02 +08:00
.vscode After submitting aarch64 PR to zCore, some libc-test's satus about aarch64 should change. 2022-07-06 16:07:43 +08:00
testcases test for qemu board 2022-10-26 14:43:57 +08:00
utils test 2022-11-18 15:39:02 +08:00
.gitignore Initial commit 2022-02-23 20:16:37 +08:00
README.md rename d1 to nezha 2022-10-13 14:15:52 +08:00
linux_libc_test-board.py rename d1 to nezha 2022-10-13 14:15:52 +08:00
linux_libc_test-qemu.py test 2022-11-18 15:39:02 +08:00
linux_libc_test.py After submitting aarch64 PR to zCore, some libc-test's satus about aarch64 should change. 2022-07-06 16:07:43 +08:00
linux_other_test.py add linux_other_test for aarch64 2022-06-01 09:08:30 +08:00
requirements.txt update 2022-07-11 19:25:13 +08:00
statistic.sh add statistic.sh, 统计在zCore上通过的测例所包含的系统调用 2022-06-27 15:14:38 +08:00
test.sh add test.sh, used to run multiple testcases 2022-09-28 15:55:11 +08:00
zircon_core_test.py add argument '--no-failed', don't call exit(-1) even error occurs. 2022-03-28 10:38:51 +08:00

README.md

zcore-tests

Test scripts for zCore OS.

Setup

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

Linux libc tests on qemu

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

Linux libc test on boards

# usage:
python linux_libc_test-board.py [-a <arch>] [-f] [-b <board>] [-D <dev>]
  # options:
  -a <arch>, --arch <arch>	# target architecture, can be : x86_64(default), riscv64, aarch64
  -f, --fast	# do not test known failed and timeout testcases
  -b <board>, --board <board>	# board name, can be : nezha(default), unmatched, visionfive, light, cr1825
  -D <dev>, --device <dev>	# specify the device. default : /dev/ttyUSB0
  
python linux_libc_test-board.py -t <testcase> [-a <arch>] [-b <board>] [-D <dev>]
  # run only one test <testcase>