Since some of the machines that we support in QEMU sometimes get broken by other changes, and it then takes a while 'till somebody notices the breakage, it would be nice to get some more automatic test coverage for various machines during "make check". The second patch adds such a test for the machines where we've got a firmware image for and thus can test for some magic strings in the serial output of the firmware.
The first patch is just a clean-up for the Makefile to avoid that new tests get added with "=" instead of "+=" (and thus completely overwrite the correspond variable by accident). v2: - Some more clean-ups for the Makefile (i.e. some additional empty lines) - Check return value of read() to make sure that there is no error Thomas Huth (2): tests: Resort check-qtest entries in Makefile.include tests: Check serial output of firmware boot of some machines tests/Makefile.include | 46 ++++++++++++++------ tests/boot-serial-test.c | 111 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 144 insertions(+), 13 deletions(-) create mode 100644 tests/boot-serial-test.c -- 1.8.3.1
