mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
support/testing: test_zfs: don't run TestZfsBase as a test
The commit [1] introcuded TestZfsBase as a common function
between all Zfs tests. But TestZfsBase test is executed
as a test itself.
Rename test_run() to base_test_run() to avoid this issue.
Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/2429014006
[1] 593e8cb71f
Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: José Luis Salvador Rufo <salvador.joseluis@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
committed by
Arnout Vandecappelle (Essensium/Mind)
parent
b980be3c5d
commit
e66cac7631
@@ -25,7 +25,7 @@ class TestZfsBase(infra.basetest.BRTest):
|
|||||||
# BR2_TARGET_ROOTFS_TAR is not set
|
# BR2_TARGET_ROOTFS_TAR is not set
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def test_run(self):
|
def base_test_run(self):
|
||||||
kernel = os.path.join(self.builddir, "images", "bzImage")
|
kernel = os.path.join(self.builddir, "images", "bzImage")
|
||||||
cpio_file = os.path.join(self.builddir, "images", "rootfs.cpio")
|
cpio_file = os.path.join(self.builddir, "images", "rootfs.cpio")
|
||||||
self.emulator.boot(
|
self.emulator.boot(
|
||||||
@@ -65,6 +65,9 @@ class TestZfsGlibc(TestZfsBase):
|
|||||||
BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_CORE_I7_GLIBC_STABLE=y
|
BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_CORE_I7_GLIBC_STABLE=y
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
def test_run(self):
|
||||||
|
TestZfsBase.base_test_run(self)
|
||||||
|
|
||||||
|
|
||||||
class TestZfsUclibc(TestZfsBase):
|
class TestZfsUclibc(TestZfsBase):
|
||||||
config = TestZfsBase.config + \
|
config = TestZfsBase.config + \
|
||||||
@@ -72,9 +75,15 @@ class TestZfsUclibc(TestZfsBase):
|
|||||||
BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_CORE_I7_UCLIBC_STABLE=y
|
BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_CORE_I7_UCLIBC_STABLE=y
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
def test_run(self):
|
||||||
|
TestZfsBase.base_test_run(self)
|
||||||
|
|
||||||
|
|
||||||
class TestZfsMusl(TestZfsBase):
|
class TestZfsMusl(TestZfsBase):
|
||||||
config = TestZfsBase.config + \
|
config = TestZfsBase.config + \
|
||||||
"""
|
"""
|
||||||
BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_MUSL_STABLE=y
|
BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_MUSL_STABLE=y
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
def test_run(self):
|
||||||
|
TestZfsBase.base_test_run(self)
|
||||||
|
|||||||
Reference in New Issue
Block a user