support/testing/tests/package/test_gdb.py: drop version-specific tests
Back when support/testing/tests/package/test_gdb was introduced, there was a significant difference in how gdb < 10 and gdb >= 10 were handled in gdb.mk, which explained why we were testing both gdb 9.x and gdb 11.x. However, support for gdb 9.x has now been dropped, and we only support gdb >= 10.x, so testing gdb 9.x and 11.x separately no longer make much sense. In addition: - other GDB tests in the same file already test the default version, which is now 11.x, meaning we in fact have duplicated tests between the ones testing the default version and the ones testing 11.x specifically - GDB 9.x has been removed, which means all the tests testing GDB 9.x are failing, with a Config.in.legacy build error. Fixes: https://gitlab.com/buildroot.org/buildroot/-/jobs/3249828456 (TestGdbHostOnly9x) https://gitlab.com/buildroot.org/buildroot/-/jobs/3249828454 (TestGdbHostGdbserver9x) https://gitlab.com/buildroot.org/buildroot/-/jobs/3249828451 (TestGdbHostGdbTarget9x) Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
e7930708a3
commit
b9dd9ee857
@ -91,114 +91,6 @@ class TestGdbFullTarget(BaseGdb):
|
||||
self.verify_gdb()
|
||||
|
||||
|
||||
class TestGdbHostOnly9x(BaseGdb):
|
||||
config = \
|
||||
infra.basetest.MINIMAL_CONFIG + \
|
||||
"""
|
||||
BR2_arm=y
|
||||
BR2_TOOLCHAIN_EXTERNAL=y
|
||||
BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
|
||||
BR2_PACKAGE_HOST_GDB=y
|
||||
BR2_GDB_VERSION_9_2=y
|
||||
"""
|
||||
|
||||
def test_run(self):
|
||||
self.verify_host_gdb()
|
||||
|
||||
|
||||
class TestGdbHostGdbserver9x(BaseGdb):
|
||||
config = \
|
||||
"""
|
||||
BR2_arm=y
|
||||
BR2_TOOLCHAIN_EXTERNAL=y
|
||||
BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
|
||||
BR2_PACKAGE_HOST_GDB=y
|
||||
BR2_GDB_VERSION_9_2=y
|
||||
BR2_PACKAGE_GDB=y
|
||||
BR2_TARGET_ROOTFS_CPIO=y
|
||||
# BR2_TARGET_ROOTFS_TAR is not set
|
||||
"""
|
||||
|
||||
def test_run(self):
|
||||
self.verify_host_gdb()
|
||||
self.boot()
|
||||
self.verify_gdbserver()
|
||||
|
||||
|
||||
class TestGdbHostGdbTarget9x(BaseGdb):
|
||||
config = \
|
||||
"""
|
||||
BR2_arm=y
|
||||
BR2_TOOLCHAIN_EXTERNAL=y
|
||||
BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
|
||||
BR2_PACKAGE_HOST_GDB=y
|
||||
BR2_GDB_VERSION_9_2=y
|
||||
BR2_PACKAGE_GDB=y
|
||||
BR2_PACKAGE_GDB_DEBUGGER=y
|
||||
BR2_TARGET_ROOTFS_CPIO=y
|
||||
# BR2_TARGET_ROOTFS_TAR is not set
|
||||
"""
|
||||
|
||||
def test_run(self):
|
||||
self.verify_host_gdb()
|
||||
self.boot()
|
||||
self.verify_gdb()
|
||||
|
||||
|
||||
class TestGdbHostOnly11x(BaseGdb):
|
||||
config = \
|
||||
infra.basetest.MINIMAL_CONFIG + \
|
||||
"""
|
||||
BR2_arm=y
|
||||
BR2_TOOLCHAIN_EXTERNAL=y
|
||||
BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
|
||||
BR2_PACKAGE_HOST_GDB=y
|
||||
BR2_GDB_VERSION_11=y
|
||||
"""
|
||||
|
||||
def test_run(self):
|
||||
self.verify_host_gdb()
|
||||
|
||||
|
||||
class TestGdbHostGdbserver11x(BaseGdb):
|
||||
config = \
|
||||
"""
|
||||
BR2_arm=y
|
||||
BR2_TOOLCHAIN_EXTERNAL=y
|
||||
BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
|
||||
BR2_PACKAGE_HOST_GDB=y
|
||||
BR2_GDB_VERSION_11=y
|
||||
BR2_PACKAGE_GDB=y
|
||||
BR2_TARGET_ROOTFS_CPIO=y
|
||||
# BR2_TARGET_ROOTFS_TAR is not set
|
||||
"""
|
||||
|
||||
def test_run(self):
|
||||
self.verify_host_gdb()
|
||||
self.boot()
|
||||
self.verify_gdbserver()
|
||||
|
||||
|
||||
class TestGdbHostGdbTarget11x(BaseGdb):
|
||||
config = \
|
||||
"""
|
||||
BR2_arm=y
|
||||
BR2_TOOLCHAIN_EXTERNAL=y
|
||||
BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
|
||||
BR2_PACKAGE_HOST_GDB=y
|
||||
BR2_GDB_VERSION_11=y
|
||||
BR2_PACKAGE_GDB=y
|
||||
BR2_PACKAGE_GDB_DEBUGGER=y
|
||||
BR2_TARGET_ROOTFS_CPIO=y
|
||||
# BR2_TARGET_ROOTFS_TAR is not set
|
||||
"""
|
||||
|
||||
def test_run(self):
|
||||
self.verify_host_gdb()
|
||||
self.boot()
|
||||
self.verify_gdb()
|
||||
|
||||
|
||||
class TestGdbArc(BaseGdb):
|
||||
config = \
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user