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). v3: - Rebased to master (there were some conflicts in Makefile.include) 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 | 52 +++++++++++++++------- tests/boot-serial-test.c | 110 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 146 insertions(+), 16 deletions(-) create mode 100644 tests/boot-serial-test.c -- 1.8.3.1