Browse Source

tests: update instructions on setting up and running tests

- Update the list of required packages.
- Update the command for executing tests in a VM.
lyuts 1 year ago
parent
commit
34ffde48ee
1 changed files with 3 additions and 1 deletions
  1. 3 1
      test/README.md

+ 3 - 1
test/README.md

@@ -10,6 +10,8 @@ You'll need:
 1. `rustup toolchain install nightly`
 1. `rustup target add {aarch64,x86_64}-unknown-linux-musl`
 1. `cargo install bpf-linker`
+1. `libelf-dev` (`libelf-devel` on rpm-based distros)
+1. `llvm` (for `llvm-objcopy`)
 1. (virtualized only) `qemu`
 
 ## Usage
@@ -25,7 +27,7 @@ cargo xtask integration-test local
 ### Virtualized
 
 ```bash
-cargo xtask integration-test vm
+cargo xtask integration-test vm <KERNEL IMAGE>
 ```
 
 ### Writing an integration test