Branch: refs/heads/master Home: https://github.com/qemu/qemu Commit: 93bc3b29fa31637f9dd062cf05bff36646070dab https://github.com/qemu/qemu/commit/93bc3b29fa31637f9dd062cf05bff36646070dab Author: Eduardo Habkost <ehabk...@redhat.com> Date: 2018-06-15 (Fri, 15 Jun 2018)
Changed paths: R COPYING.PYTHON Log Message: ----------- Remove COPYING.PYTHON The COPYING.PYTHON file was added when we added the compatibility argparse.py module, which was licensed under the Python Software Foundation License Version 2. Now the compatibility argparse.py module was removed, and we are not carrying any code under that license anymore. Remove COPYING.PYTHON. Signed-off-by: Eduardo Habkost <ehabk...@redhat.com> Message-Id: <20180611180152.2681-1-ehabk...@redhat.com> Reviewed-by: Daniel P. Berrangé <berra...@redhat.com> Reviewed-by: Stefan Hajnoczi <stefa...@redhat.com> Signed-off-by: Eduardo Habkost <ehabk...@redhat.com> Commit: c3d7e8c90db208b1d876f8d6458c2dfca169137f https://github.com/qemu/qemu/commit/c3d7e8c90db208b1d876f8d6458c2dfca169137f Author: Cleber Rosa <cr...@redhat.com> Date: 2018-06-15 (Fri, 15 Jun 2018) Changed paths: M docs/devel/testing.rst A tests/acceptance/README.rst A tests/acceptance/avocado_qemu/__init__.py A tests/acceptance/version.py Log Message: ----------- Add functional/acceptance tests infrastructure This patch adds the very minimum infrastructure necessary for writing and running functional/acceptance tests, including: * Documentation * The avocado_qemu.Test base test class * One example tests (version.py) Additional functionality is expected to be added along the tests that require them. Signed-off-by: Cleber Rosa <cr...@redhat.com> Message-Id: <20180530184156.15634-2-cr...@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <f4...@amsat.org> Tested-by: Philippe Mathieu-Daudé <f4...@amsat.org> [ehabkost: fix typo on testing.rst] Reviewed-by: Stefan Hajnoczi <stefa...@redhat.com> Signed-off-by: Eduardo Habkost <ehabk...@redhat.com> Commit: 572a82438308216fbfc615c924b6e94e4b68dfaa https://github.com/qemu/qemu/commit/572a82438308216fbfc615c924b6e94e4b68dfaa Author: Cleber Rosa <cr...@redhat.com> Date: 2018-06-15 (Fri, 15 Jun 2018) Changed paths: M scripts/qemu.py Log Message: ----------- scripts/qemu.py: allow adding to the list of extra arguments Tests will often need to add extra arguments to QEMU command line arguments. Signed-off-by: Cleber Rosa <cr...@redhat.com> Reviewed-by: Stefan Hajnoczi <stefa...@redhat.com> Message-Id: <20180530184156.15634-3-cr...@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <f4...@amsat.org> Tested-by: Philippe Mathieu-Daudé <f4...@amsat.org> Signed-off-by: Eduardo Habkost <ehabk...@redhat.com> Commit: 7b1bd11cff0915a1266c34bdfb66d70f6372340d https://github.com/qemu/qemu/commit/7b1bd11cff0915a1266c34bdfb66d70f6372340d Author: Cleber Rosa <cr...@redhat.com> Date: 2018-06-15 (Fri, 15 Jun 2018) Changed paths: A tests/acceptance/vnc.py Log Message: ----------- Acceptance tests: add quick VNC tests This patch adds a few simple behavior tests for VNC. Signed-off-by: Cleber Rosa <cr...@redhat.com> Reviewed-by: Stefan Hajnoczi <stefa...@redhat.com> Message-Id: <20180530184156.15634-4-cr...@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <f4...@amsat.org> Tested-by: Philippe Mathieu-Daudé <f4...@amsat.org> Signed-off-by: Eduardo Habkost <ehabk...@redhat.com> Commit: 22dea9db2baf72a79782c748c57e2d87b06234d5 https://github.com/qemu/qemu/commit/22dea9db2baf72a79782c748c57e2d87b06234d5 Author: Cleber Rosa <cr...@redhat.com> Date: 2018-06-15 (Fri, 15 Jun 2018) Changed paths: M scripts/qemu.py Log Message: ----------- scripts/qemu.py: introduce set_console() method The set_console() method is intended to ease higher level use cases that require a console device. The amount of intelligence is limited on purpose, requiring either the device type explicitly, or the existence of a machine (pattern) definition. Because of the console device type selection criteria (by machine type), users should also be able to define that. It'll then be used for both '-machine' and for the console device type selection. Users of the set_console() method will certainly be interested in accessing the console device, and for that a console_socket property has been added. Signed-off-by: Cleber Rosa <cr...@redhat.com> Message-Id: <20180530184156.15634-5-cr...@redhat.com> Tested-by: Philippe Mathieu-Daudé <f4...@amsat.org> Reviewed-by: Stefan Hajnoczi <stefa...@redhat.com> Signed-off-by: Eduardo Habkost <ehabk...@redhat.com> Commit: c1cc73f407b890c4e7ab5bf520c0637e0364e92a https://github.com/qemu/qemu/commit/c1cc73f407b890c4e7ab5bf520c0637e0364e92a Author: Cleber Rosa <cr...@redhat.com> Date: 2018-06-15 (Fri, 15 Jun 2018) Changed paths: A tests/acceptance/boot_linux_console.py Log Message: ----------- Acceptance tests: add Linux kernel boot and console checking test This test boots a Linux kernel, and checks that the given command line was effective in two ways: * It makes the kernel use the set "console device" as a console * The kernel records the command line as expected in the console Given that way too many error conditions may occur, and detecting the kernel boot progress status may not be trivial, this test relies on a timeout to handle unexpected situations. Also, it's *not* tagged as a quick test for obvious reasons. It may be useful, while interactively running/debugging this test, or tests similar to this one, to show some of the logging channels. Example: $ avocado --show=QMP,console run boot_linux_console.py Signed-off-by: Cleber Rosa <cr...@redhat.com> Message-Id: <20180530184156.15634-6-cr...@redhat.com> Reviewed-by: Stefan Hajnoczi <stefa...@redhat.com> Signed-off-by: Eduardo Habkost <ehabk...@redhat.com> Commit: 1b145d59b74a5880d82954ee940a219e73851f9e https://github.com/qemu/qemu/commit/1b145d59b74a5880d82954ee940a219e73851f9e Author: Philippe Mathieu-Daudé <f4...@amsat.org> Date: 2018-06-15 (Fri, 15 Jun 2018) Changed paths: M configure Log Message: ----------- configure: Enable out-of-tree acceptance tests Currently to run Avocado acceptance tests in an out-of-tree build directory, we need to use the full path to the test: build_dir$ avocado run /full/path/to/sources/qemu/tests/acceptance/boot_linux_console.py This patch adds a symlink in the build tree to simplify the tests invocation, allowing the same command than in in-tree builds: build_dir$ avocado run tests/acceptance/boot_linux_console.py Signed-off-by: Philippe Mathieu-Daudé <f4...@amsat.org> Message-Id: <20180612173437.14462-1-f4...@amsat.org> Signed-off-by: Eduardo Habkost <ehabk...@redhat.com> Commit: c5ee5cd9db1e5edb9de002e90fbcb16952de9c07 https://github.com/qemu/qemu/commit/c5ee5cd9db1e5edb9de002e90fbcb16952de9c07 Author: Peter Maydell <peter.mayd...@linaro.org> Date: 2018-06-19 (Tue, 19 Jun 2018) Changed paths: R COPYING.PYTHON M configure M docs/devel/testing.rst M scripts/qemu.py A tests/acceptance/README.rst A tests/acceptance/avocado_qemu/__init__.py A tests/acceptance/boot_linux_console.py A tests/acceptance/version.py A tests/acceptance/vnc.py Log Message: ----------- Merge remote-tracking branch 'remotes/ehabkost/tags/python-next-pull-request' into staging Python queue, 2018-06-15 * Add avocado_qemu: functional/acceptance test infrastructure # gpg: Signature made Fri 15 Jun 2018 20:12:20 BST # gpg: using RSA key 2807936F984DC5A6 # gpg: Good signature from "Eduardo Habkost <ehabk...@redhat.com>" # Primary key fingerprint: 5A32 2FD5 ABC4 D3DB ACCF D1AA 2807 936F 984D C5A6 * remotes/ehabkost/tags/python-next-pull-request: configure: Enable out-of-tree acceptance tests Acceptance tests: add Linux kernel boot and console checking test scripts/qemu.py: introduce set_console() method Acceptance tests: add quick VNC tests scripts/qemu.py: allow adding to the list of extra arguments Add functional/acceptance tests infrastructure Remove COPYING.PYTHON Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> Compare: https://github.com/qemu/qemu/compare/2ef2f16781af...c5ee5cd9db1e **NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/ Functionality will be removed from GitHub.com on January 31st, 2019.