From 34ffde48ee8488038498c3b621dfd40aa3095968 Mon Sep 17 00:00:00 2001 From: lyuts Date: Sun, 19 Nov 2023 17:48:45 -0800 Subject: [PATCH] tests: update instructions on setting up and running tests - Update the list of required packages. - Update the command for executing tests in a VM. --- test/README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/README.md b/test/README.md index 5a0db31b..fa3eebca 100644 --- a/test/README.md +++ b/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 ``` ### Writing an integration test