support/testing/{test_edk2, test_grub, test_iso9660, test_fwts}: remove edk2 download fix

Remove the download fix introduced by [1] now the edk2 git repository
has been fixed in version stable202411 [2].

[1] 47fc9e5509.
[2] 95d8a1c255

Cc: Julien Olivain <ju.o@free.fr>
Signed-off-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
Romain Naour
2025-01-04 18:59:45 +01:00
committed by Julien Olivain
parent 0919d98e83
commit 9ee173ba5f
4 changed files with 0 additions and 176 deletions

View File

@@ -36,28 +36,6 @@ class TestEdk2(infra.basetest.BRTest):
BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y
"""
def __init__(self, names):
"""Setup common test variables."""
super(TestEdk2, self).__init__(names)
"""All EDK2 releases <= edk2-stable202408 can't be fetched from git
anymore due to a missing git submodule as reported by [1].
Usually Buildroot fall-back using https://sources.buildroot.net
thanks to BR2_BACKUP_SITE where a backup of the generated archive
is available. But the BRConfigTest remove BR2_BACKUP_SITE default
value while generating the .config used by TestEdk2.
Replace the BR2_BACKUP_SITE override from BRConfigTest in order
to continue testing EDK2 package using the usual backup site.
To be removed with the next EDK2 version bump using this commit
[2].
[1] https://github.com/tianocore/edk2/issues/6398
[2] https://github.com/tianocore/edk2/commit/95d8a1c255cfb8e063d679930d08ca6426eb5701
"""
self.config = self.config.replace('BR2_BACKUP_SITE=""\n', '')
def test_run(self):
hda = os.path.join(self.builddir, "images", "disk.img")
flash0 = os.path.join(self.builddir, "images", "SBSA_FLASH0.fd")

View File

@@ -58,28 +58,6 @@ class TestGrubi386EFI(infra.basetest.BRTest):
BR2_PACKAGE_HOST_DOSFSTOOLS=y
""".format(infra.filepath("tests/boot/test_grub/post-build.sh"))
def __init__(self, names):
"""Setup common test variables."""
super(TestGrubi386EFI, self).__init__(names)
"""All EDK2 releases <= edk2-stable202408 can't be fetched from git
anymore due to a missing git submodule as reported by [1].
Usually Buildroot fall-back using https://sources.buildroot.net
thanks to BR2_BACKUP_SITE where a backup of the generated archive
is available. But the BRConfigTest remove BR2_BACKUP_SITE default
value while generating the .config used by TestGrubi386EFI.
Replace the BR2_BACKUP_SITE override from BRConfigTest in order
to continue testing EDK2 package using the usual backup site.
To be removed with the next EDK2 version bump using this commit
[2].
[1] https://github.com/tianocore/edk2/issues/6398
[2] https://github.com/tianocore/edk2/commit/95d8a1c255cfb8e063d679930d08ca6426eb5701
"""
self.config = self.config.replace('BR2_BACKUP_SITE=""\n', '')
def test_run(self):
hda = os.path.join(self.builddir, "images", "disk.img")
bios = os.path.join(self.builddir, "images", "OVMF.fd")
@@ -131,28 +109,6 @@ class TestGrubX8664EFI(infra.basetest.BRTest):
BR2_PACKAGE_HOST_DOSFSTOOLS=y
""".format(infra.filepath("tests/boot/test_grub/post-build.sh"))
def __init__(self, names):
"""Setup common test variables."""
super(TestGrubX8664EFI, self).__init__(names)
"""All EDK2 releases <= edk2-stable202408 can't be fetched from git
anymore due to a missing git submodule as reported by [1].
Usually Buildroot fall-back using https://sources.buildroot.net
thanks to BR2_BACKUP_SITE where a backup of the generated archive
is available. But the BRConfigTest remove BR2_BACKUP_SITE default
value while generating the .config used by TestGrubX8664EFI.
Replace the BR2_BACKUP_SITE override from BRConfigTest in order
to continue testing EDK2 package using the usual backup site.
To be removed with the next EDK2 version bump using this commit
[2].
[1] https://github.com/tianocore/edk2/issues/6398
[2] https://github.com/tianocore/edk2/commit/95d8a1c255cfb8e063d679930d08ca6426eb5701
"""
self.config = self.config.replace('BR2_BACKUP_SITE=""\n', '')
def test_run(self):
hda = os.path.join(self.builddir, "images", "disk.img")
bios = os.path.join(self.builddir, "images", "OVMF.fd")
@@ -202,28 +158,6 @@ class TestGrubAArch64EFI(infra.basetest.BRTest):
""".format(post_image=infra.filepath("tests/boot/test_grub/post-image-aarch64-efi.sh"),
linux_fragment=infra.filepath("tests/boot/test_grub/linux-aarch64-efi.config"))
def __init__(self, names):
"""Setup common test variables."""
super(TestGrubAArch64EFI, self).__init__(names)
"""All EDK2 releases <= edk2-stable202408 can't be fetched from git
anymore due to a missing git submodule as reported by [1].
Usually Buildroot fall-back using https://sources.buildroot.net
thanks to BR2_BACKUP_SITE where a backup of the generated archive
is available. But the BRConfigTest remove BR2_BACKUP_SITE default
value while generating the .config used by TestGrubAArch64EFI.
Replace the BR2_BACKUP_SITE override from BRConfigTest in order
to continue testing EDK2 package using the usual backup site.
To be removed with the next EDK2 version bump using this commit
[2].
[1] https://github.com/tianocore/edk2/issues/6398
[2] https://github.com/tianocore/edk2/commit/95d8a1c255cfb8e063d679930d08ca6426eb5701
"""
self.config = self.config.replace('BR2_BACKUP_SITE=""\n', '')
def test_run(self):
hda = os.path.join(self.builddir, "images", "disk.img")
bios = os.path.join(self.builddir, "images", "QEMU_EFI.fd")
@@ -270,28 +204,6 @@ class TestGrubRiscV64EFI(infra.basetest.BRTest):
BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y
"""
def __init__(self, names):
"""Setup common test variables."""
super(TestGrubRiscV64EFI, self).__init__(names)
"""All EDK2 releases <= edk2-stable202408 can't be fetched from git
anymore due to a missing git submodule as reported by [1].
Usually Buildroot fall-back using https://sources.buildroot.net
thanks to BR2_BACKUP_SITE where a backup of the generated archive
is available. But the BRConfigTest remove BR2_BACKUP_SITE default
value while generating the .config used by TestGrubAArch64EFI.
Replace the BR2_BACKUP_SITE override from BRConfigTest in order
to continue testing EDK2 package using the usual backup site.
To be removed with the next EDK2 version bump using this commit
[2].
[1] https://github.com/tianocore/edk2/issues/6398
[2] https://github.com/tianocore/edk2/commit/95d8a1c255cfb8e063d679930d08ca6426eb5701
"""
self.config = self.config.replace('BR2_BACKUP_SITE=""\n', '')
def test_run(self):
disk = os.path.join(self.builddir, "images", "disk.img")
flash0 = os.path.join(self.builddir, "images", "RISCV_VIRT_CODE.fd")

View File

@@ -135,28 +135,6 @@ class TestIso9660Grub2EFI(infra.basetest.BRTest):
""".format(infra.filepath("conf/grub2-efi.cfg"),
infra.filepath("conf/grub2.cfg"))
def __init__(self, names):
"""Setup common test variables."""
super(TestIso9660Grub2EFI, self).__init__(names)
"""All EDK2 releases <= edk2-stable202408 can't be fetched from git
anymore due to a missing git submodule as reported by [1].
Usually Buildroot fall-back using https://sources.buildroot.net
thanks to BR2_BACKUP_SITE where a backup of the generated archive
is available. But the BRConfigTest remove BR2_BACKUP_SITE default
value while generating the .config used by TestIso9660Grub2EFI.
Replace the BR2_BACKUP_SITE override from BRConfigTest in order
to continue testing EDK2 package using the usual backup site.
To be removed with the next EDK2 version bump using this commit
[2].
[1] https://github.com/tianocore/edk2/issues/6398
[2] https://github.com/tianocore/edk2/commit/95d8a1c255cfb8e063d679930d08ca6426eb5701
"""
self.config = self.config.replace('BR2_BACKUP_SITE=""\n', '')
def test_run(self):
exit_code = test_mount_internal_external(self.emulator,
self.builddir, internal=True,
@@ -185,28 +163,6 @@ class TestIso9660Grub2Hybrid(infra.basetest.BRTest):
""".format(infra.filepath("conf/grub2-efi.cfg"),
infra.filepath("conf/grub2.cfg"))
def __init__(self, names):
"""Setup common test variables."""
super(TestIso9660Grub2Hybrid, self).__init__(names)
"""All EDK2 releases <= edk2-stable202408 can't be fetched from git
anymore due to a missing git submodule as reported by [1].
Usually Buildroot fall-back using https://sources.buildroot.net
thanks to BR2_BACKUP_SITE where a backup of the generated archive
is available. But the BRConfigTest remove BR2_BACKUP_SITE default
value while generating the .config used by TestIso9660Grub2Hybrid.
Replace the BR2_BACKUP_SITE override from BRConfigTest in order
to continue testing EDK2 package using the usual backup site.
To be removed with the next EDK2 version bump using this commit
[2].
[1] https://github.com/tianocore/edk2/issues/6398
[2] https://github.com/tianocore/edk2/commit/95d8a1c255cfb8e063d679930d08ca6426eb5701
"""
self.config = self.config.replace('BR2_BACKUP_SITE=""\n', '')
def test_run(self):
exit_code = test_mount_internal_external(self.emulator,
self.builddir, internal=True,

View File

@@ -39,28 +39,6 @@ class TestFwts(infra.basetest.BRTest):
BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y
"""
def __init__(self, names):
"""Setup common test variables."""
super(TestFwts, self).__init__(names)
"""All EDK2 releases <= edk2-stable202408 can't be fetched from git
anymore due to a missing git submodule as reported by [1].
Usually Buildroot fall-back using https://sources.buildroot.net
thanks to BR2_BACKUP_SITE where a backup of the generated archive
is available. But the BRConfigTest remove BR2_BACKUP_SITE default
value while generating the .config used by TestFwts.
Replace the BR2_BACKUP_SITE override from BRConfigTest in order
to continue testing EDK2 package using the usual backup site.
To be removed with the next EDK2 version bump using this commit
[2].
[1] https://github.com/tianocore/edk2/issues/6398
[2] https://github.com/tianocore/edk2/commit/95d8a1c255cfb8e063d679930d08ca6426eb5701
"""
self.config = self.config.replace('BR2_BACKUP_SITE=""\n', '')
def test_run(self):
hda = os.path.join(self.builddir, "images", "disk.img")
flash0 = os.path.join(self.builddir, "images", "SBSA_FLASH0.fd")