Update testing readmes

This commit is contained in:
copy 2017-06-19 15:06:50 -05:00
parent e2cebe1130
commit 016005fa20
4 changed files with 13 additions and 16 deletions

View file

@ -1,11 +1,9 @@
A couple of test cases.
- [full](full/): Starts several OSes and checks if they boot correctly. This is
the most useful test.
- [qemu](qemu/): Builds a Linux binary, which tests many CPU features. Needs to
be manually put on a Linux image and run in the emulator. This test is
contained in the `linux.iso` image and automatically run in the full test.
- [nasm](nasm/): Small unit tests written in assembly, which are run using gdb
on the host.
- [qemu](qemu/): Builds a Linux binary, which tests many CPU features, which
are then compared to a run on the host.
- [kvm-unit-test](kvm-unit-test/): Based on tests from the KVM project, tests
various CPU features.
- [full](full/): Starts several OSes and checks if they boot correctly.
- [perf-irhydra](perf-irhydra/): Manual performance test. Probably not
interesting for you.

View file

@ -5,7 +5,7 @@ moment.
# Automated Testing
- Run `make nasmtests` in the root of the project
- Run `make && ./run.js` in the root of the project
# Manual

View file

@ -1,8 +0,0 @@
How to run:
- Build test-i386
- Run test-i386 locally (requires Linux and an x86 machine)
- Put both on a disk (for instance, a cd image built with buildroot)
- Run test-i386 in the emulator
- Compare the result

7
tests/qemu/Readme.md Normal file
View file

@ -0,0 +1,7 @@
How to run:
- Obtain the `linux3.iso` image (see [Readme.md](../../Readme.md))
- Run `make test-i386`
- Get the result on the host: `./test-386 > reference`
- Get the result from the VM: `./run.js > result`
- The difference should be empty: `diff reference result`