polish testing a bit further

This commit is contained in:
Ciro Santilli 六四事件 法轮功
2019-01-22 00:00:00 +00:00
parent c64e96e575
commit 42ce64409b
8 changed files with 123 additions and 43 deletions

View File

@@ -3172,11 +3172,17 @@ Result on <<p51>> at bad30f513c46c1b0995d3a10c0d9bc2a33dc4fa0:
Automatically run non-interactive userland tests that can be run in user mode simulation:
....
./build-userland --all-archs --all-emulators
./build-userland --all-archs --all-emulators --static --userland-build-id static
./build --all-archs test-user-mode
./test-user-mode --all-archs --all-emulators
....
Or just for QEMU:
....
./build --all-archs test-user-mode-qemu
./test-user-mode --all-archs --emulator qemu
....
Source: link:test-user-mode[]
This testing excludes notably kernel module tests which depend on a full running kernel.
@@ -6695,6 +6701,8 @@ Bibliography:
==== Count boot instructions
TODO: didn't port during refactor after 3b0a343647bed577586989fb702b760bd280844a. Reimplementing should not be hard.
* https://www.quora.com/How-many-instructions-does-a-typical-Linux-kernel-boot-take
* https://github.com/cirosantilli/chat/issues/31
* https://rwmj.wordpress.com/2016/03/17/tracing-qemu-guest-execution/
@@ -10975,6 +10983,8 @@ make CROSS_COMPILE_DIR=/usr/bin
== Benchmark this repo
TODO: didn't fully port during refactor after 3b0a343647bed577586989fb702b760bd280844a. Reimplementing should not be hard.
In this section document how benchmark builds and runs of this repo, and how to investigate what the bottleneck is.
Ideally, we should setup an automated build server that benchmarks those things continuously for us, but our <<travis>> attempt failed.