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:
parent
b980be3c5d
commit
e66cac7631
@ -25,7 +25,7 @@ class TestZfsBase(infra.basetest.BRTest):
|
||||
# BR2_TARGET_ROOTFS_TAR is not set
|
||||
"""
|
||||
|
||||
def test_run(self):
|
||||
def base_test_run(self):
|
||||
kernel = os.path.join(self.builddir, "images", "bzImage")
|
||||
cpio_file = os.path.join(self.builddir, "images", "rootfs.cpio")
|
||||
self.emulator.boot(
|
||||
@ -65,6 +65,9 @@ class TestZfsGlibc(TestZfsBase):
|
||||
BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_CORE_I7_GLIBC_STABLE=y
|
||||
"""
|
||||
|
||||
def test_run(self):
|
||||
TestZfsBase.base_test_run(self)
|
||||
|
||||
|
||||
class TestZfsUclibc(TestZfsBase):
|
||||
config = TestZfsBase.config + \
|
||||
@ -72,9 +75,15 @@ class TestZfsUclibc(TestZfsBase):
|
||||
BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_CORE_I7_UCLIBC_STABLE=y
|
||||
"""
|
||||
|
||||
def test_run(self):
|
||||
TestZfsBase.base_test_run(self)
|
||||
|
||||
|
||||
class TestZfsMusl(TestZfsBase):
|
||||
config = TestZfsBase.config + \
|
||||
"""
|
||||
BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_MUSL_STABLE=y
|
||||
"""
|
||||
|
||||
def test_run(self):
|
||||
TestZfsBase.base_test_run(self)
|
||||
|
Loading…
Reference in New Issue
Block a user