Skip to contentSkip to conversation

support/testing: package: mariadb: fix test configuration

Buildroot Peter Korsgaard 1 participant 1 message Sep 3, 2024

lore
Share & tools
lore
#0 lore raw

commit: https://git.buildroot.net/buildroot/commit/?id=78a29492f5a2d344164f2619fe295041d5b153d5
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2024.02.x

The mysql virtual package was removed in commit 8708f3a23a "package/mysql: drop virtual package".

The mariadb runtime test was authored before this mysql virtual package removal, but was merged after it, in commit 5356754d1e "support/testing: add mariadb runtime test". Due to this, this test always failed with the error:

Makefile.legacy:9: *** "You have legacy configuration in your .config! Please check your configuration.". Stop.

This commit fixes the issue by removing the legacy BR2_PACKAGE_MYSQL=y configuration directive.

Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/7540345406

(cherry picked from commit 3da3361a1b9cafb274dac776693720fe20f6681b)
---
 support/testing/tests/package/test_mariadb.py | 1 -
 1 file changed, 1 deletion(-)
support/testing/tests/package/test_mariadb.py +0 -1
index 523f075db1..d40ffdba96 100644
@@ -19,7 +19,6 @@ class TestMariaDB(infra.basetest.BRTest):
         BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.78"
         BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
         BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/aarch64-virt/linux.config"
-        BR2_PACKAGE_MYSQL=y
         BR2_PACKAGE_MARIADB=y
         BR2_PACKAGE_MARIADB_SERVER=y
         BR2_TARGET_ROOTFS_EXT2=y

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot