Skip to content

About

Linux Syscalls Test

Resources

Stars

0 stars

Watchers

3 watching

Forks

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Linux syscalls tests

The tests defined:

  • syscalls: system call tests run locally, and do not require additional configuration in the machine.
  • util: utilities library to support the tests.

Configure

Please prepare a RiscV cross-compilation toolchain.
eg: riscv-gnu-toolchain with Linux multilib

Configure file toolchain/cc_toolchain_config.bzl, and set riscv_gnu_toolchain_path = "/path/to/your/toolchain".

Build tests

To build a single test case:
bazel build --config=riscv64_config //test/syscalls/linux:write_test

To build all syscalls test cases:
bazel build --config=riscv64_config //test/syscalls/linux/...

OR Just build: bazel build -s --config=riscv64_config //test/syscalls/linux:access_test //test/syscalls/linux:write_test

Run tests

Depend on library: libstdc++.so

About

Linux Syscalls Test

Resources

Stars

0 stars

Watchers

3 watching

Forks

Releases

Packages

Contributors

Languages