| b438b3b8 | 02-Aug-2022 |
Jason A. Donenfeld <[email protected]> |
wireguard: selftests: support UML
This shoud open up various possibilities like time travel execution, and is also just another platform to help shake out bugs.
Cc: Johannes Berg <johannes@sipsolut
wireguard: selftests: support UML
This shoud open up various possibilities like time travel execution, and is also just another platform to help shake out bugs.
Cc: Johannes Berg <[email protected]> Signed-off-by: Jason A. Donenfeld <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
show more ...
|
| b83fdcd9 | 07-Jul-2022 |
Jason A. Donenfeld <[email protected]> |
wireguard: selftests: use microvm on x86
This makes for faster tests, faster compile time, and allows us to ditch ACPI finally.
Signed-off-by: Jason A. Donenfeld <[email protected]> Signed-off-by: Ja
wireguard: selftests: use microvm on x86
This makes for faster tests, faster compile time, and allows us to ditch ACPI finally.
Signed-off-by: Jason A. Donenfeld <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
show more ...
|
| 1a087eec | 07-Jul-2022 |
Jason A. Donenfeld <[email protected]> |
wireguard: selftests: always call kernel makefile
These selftests are used for much more extensive changes than just the wireguard source files. So always call the kernel's build file, which will do
wireguard: selftests: always call kernel makefile
These selftests are used for much more extensive changes than just the wireguard source files. So always call the kernel's build file, which will do something or nothing after checking the whole tree, per usual.
Signed-off-by: Jason A. Donenfeld <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
show more ...
|
| a6b8ea91 | 04-May-2022 |
Jason A. Donenfeld <[email protected]> |
wireguard: selftests: bump package deps
Use newer, more reliable package dependencies. These should hopefully reduce flakes. However, we keep the old iputils package, as it accumulated bugs after re
wireguard: selftests: bump package deps
Use newer, more reliable package dependencies. These should hopefully reduce flakes. However, we keep the old iputils package, as it accumulated bugs after resulting in flakes on slow machines.
Signed-off-by: Jason A. Donenfeld <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
show more ...
|
| d261ba6a | 04-May-2022 |
Jason A. Donenfeld <[email protected]> |
wireguard: selftests: restore support for ccache
When moving to non-system toolchains, we inadvertantly killed the ability to use ccache. So instead, build ccache support into the test harness direc
wireguard: selftests: restore support for ccache
When moving to non-system toolchains, we inadvertantly killed the ability to use ccache. So instead, build ccache support into the test harness directly.
Signed-off-by: Jason A. Donenfeld <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
show more ...
|
| d5d9b29b | 04-May-2022 |
Jason A. Donenfeld <[email protected]> |
wireguard: selftests: use newer toolchains to fill out architectures
Rather than relying on the system to have cross toolchains available, simply download musl.cc's ones and use that libc.so, and th
wireguard: selftests: use newer toolchains to fill out architectures
Rather than relying on the system to have cross toolchains available, simply download musl.cc's ones and use that libc.so, and then we use it to fill in a few missing platforms, such as riscv64, riscv64, powerpc64, and s390x.
Since riscv doesn't have a second serial port in its device description, we have to use virtio's vport. This is actually the same situation on ARM, but we were previously hacking QEMU up to work around this, which required a custom QEMU. Instead just do the vport trick on ARM too.
Signed-off-by: Jason A. Donenfeld <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
show more ...
|
| 39f02bf1 | 04-May-2022 |
Jason A. Donenfeld <[email protected]> |
wireguard: selftests: limit parallelism to $(nproc) tests at once
The parallel tests were added to catch queueing issues from multiple cores. But what happens in reality when testing tons of process
wireguard: selftests: limit parallelism to $(nproc) tests at once
The parallel tests were added to catch queueing issues from multiple cores. But what happens in reality when testing tons of processes is that these separate threads wind up fighting with the scheduler, and we wind up with contention in places we don't care about that decrease the chances of hitting a bug. So just do a test with the number of CPU cores, rather than trying to scale up arbitrarily.
Signed-off-by: Jason A. Donenfeld <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
show more ...
|