Daniel P. Berrangé <[email protected]> writes: > The gdbmi_parser.py and spark.py modules originated in projects > that pre-date avocado and are imported unchanged aside from the > 'import' statement in gdbmi_parser.py > > The gdb.py module is original avocado code that is imported with > all classes except GDBRemote removed. > > Signed-off-by: Daniel P. Berrangé <[email protected]> > --- > tests/functional/qemu_test/gdb.py | 233 ++++++ > tests/functional/qemu_test/gdbmi_parser.py | 419 ++++++++++ > tests/functional/qemu_test/spark.py | 850 +++++++++++++++++++++ > 3 files changed, 1502 insertions(+) > create mode 100644 tests/functional/qemu_test/gdb.py > create mode 100644 tests/functional/qemu_test/gdbmi_parser.py > create mode 100644 tests/functional/qemu_test/spark.py
I wonder if we should put these in a subdir named "imported" or something similar to make it clear these didn't start here. > > diff --git a/tests/functional/qemu_test/gdb.py > b/tests/functional/qemu_test/gdb.py > new file mode 100644 > index 0000000000..913e3b65ab > --- /dev/null > +++ b/tests/functional/qemu_test/gdb.py > @@ -0,0 +1,233 @@ > +# This program is free software; you can redistribute it and/or modify > +# it under the terms of the GNU General Public License as published by > +# the Free Software Foundation; either version 2 of the License, or > +# (at your option) any later version. > +# > +# This program is distributed in the hope that it will be useful, > +# but WITHOUT ANY WARRANTY; without even the implied warranty of > +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. > +# > +# A cut-down copy of gdb.py from the avocado project: Or indeed a link to upstream from here and the other python comment blocks. Otherwise: Acked-by: Alex Bennée <[email protected]> -- Alex Bennée Virtualisation Tech Lead @ Linaro
