Skip to content

Commit f196bdc

Browse files
authored
Merge pull request #388 from stefano-garzarella/fix-unit-tests-readme
INSTALL.md: fix unit tests instructions
2 parents c3da88d + e4d149a commit f196bdc

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

Documentation/docs/installation/INSTALL.md

+10-1
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,16 @@ $ make test
236236
Unit tests can be run inside the SVSM by
237237

238238
```
239-
$ QEMU=/path/to/qemu OVMF=/path/to/firmware/ make test-in-svsm
239+
$ QEMU=/path/to/qemu make test-in-svsm
240+
```
241+
242+
Note: to compile the test kernel used for unit tests, we use the nightly
243+
toolchain, so if the test kernel build fails, try installing the
244+
`x86_64-unknown-none` target for the nightly toolchain via your distro or
245+
using rustup:
246+
247+
```
248+
$ rustup +nightly target add x86_64-unknown-none
240249
```
241250

242251
Different (non-QEMU) hypervisors may provide the ACPI tables and ACPI RSDP at

0 commit comments

Comments
 (0)