From: Fiona Klute via buildroot <buildroot@buildroot.org>
To: Andreas Ziegler <br025@umbiko.net>, buildroot@buildroot.org
Cc: Marcus Hoffmann <buildroot@bubu1.eu>
Subject: Re: [Buildroot] [PATCH v2 00/11] add runtime test for mpd
Date: Sat, 11 Jul 2026 12:24:48 +0200 [thread overview]
Message-ID: <c06472fc-be68-49ce-9a8f-a8411be6d520@gmx.de> (raw)
In-Reply-To: <20260709110822.305873-1-br025@umbiko.net>
Hi Andreas,
thank you for working on these tests!
Am 09.07.26 um 13:08 schrieb Andreas Ziegler:
> Testing MPD in a real world situation is fairly straightforward: build,
> deploy, play some music. Representing this simple test within a test
> framework is quite complex.
>
> I tried to break down my simple test case into a few atomic steps that
> interact with MPD via the built-in protocol. The necessary test data was
> generated with ffmpeg and imagemagick and is royalty-free :-D
>
> In good old usenet tradition, test data had to be split in archive
> chunks, to overcome the limitations of the mailing list. The data will
> be re-combined in a post-build script.
I don't like the idea of adding a bunch of binary test data to the
repository. Why not generate it as part of the test or build? Sure,
adding ffmpeg/imagemagick to the config would make the build heavier,
but having a clearly visible generation command and no binary data in
the repository seems more important to me.
Best regards,
Fiona
> Working on this also triggered some changes in the Buildroot setup:
>
> The configuration file supplied by Buildroot is only a sample; it will not
> start MPD on a default installation. Usually a custom mpd.conf is supplied
> in a rootfs overlay. Drop the Buildroot configuration file and install the
> sample supplied by MPD instead, it is more complete, contains useful
> examples and is update regularly.
>
> After various updates since version 0.20, most dependencies placing
> restrictions on sub-components are now superseded by restrictions placed on
> MPD itself. Example: io_uring needs kernel headers > 5.1; MPD needs kernel
> headers > 5.6. Remove dependencies from sub-options if they are already
> imposed on MPD.
>
> MPD has 99 configurable options; of these, 44 are exposed in Buildroot's
> Config.in. Sort order and grouping of these options are different within
> the MPD project and Buildroot, which makes a comparison difficult.
> Reorder entries in Config.in to reflect their order in meson_options.txt.
> Also update at least some of the help texts to more closely resemble what
> is published in the MPD manual.
>
> Changes v1 -> v2:
> split test data in chunks to overcome mailing list restrictions
>
> Andreas Ziegler (11):
> package/mpd: install provided sample configuration file as mpd.conf
> package/mpd: remove duplicated dependencies from sub-options
> package/mpd: reorder config items based on order in meson_options.txt
> support/testing: add test data for mpd
> support/testing: add test data for mpd
> support/testing: add test data for mpd
> support/testing: add test data for mpd
> support/testing: add test data for mpd
> support/testing: add test data for mpd
> support/testing: add runtime test for mpd
> DEVELOPERS: add entry for test_mpd
>
> DEVELOPERS | 2 +
> package/mpd/Config.in | 364 +++++++++---------
> package/mpd/mpd.conf | 32 --
> package/mpd/mpd.mk | 2 +-
> support/testing/tests/package/test_mpd.py | 57 +++
> .../tests/package/test_mpd/_test_data0 | Bin 0 -> 223630 bytes
> .../tests/package/test_mpd/_test_data1 | Bin 0 -> 223630 bytes
> .../tests/package/test_mpd/_test_data2 | Bin 0 -> 223630 bytes
> .../tests/package/test_mpd/_test_data3 | Bin 0 -> 223630 bytes
> .../tests/package/test_mpd/_test_data4 | Bin 0 -> 223630 bytes
> .../tests/package/test_mpd/_test_data5 | Bin 0 -> 223630 bytes
> .../tests/package/test_mpd/busybox.fragment | 4 +
> .../tests/package/test_mpd/post-build.sh | 6 +
> .../test_mpd/rootfs-overlay/etc/mpd.conf | 14 +
> .../test_mpd/rootfs-overlay/root/test_mpd.sh | 74 ++++
> 15 files changed, 348 insertions(+), 207 deletions(-)
> delete mode 100644 package/mpd/mpd.conf
> create mode 100644 support/testing/tests/package/test_mpd.py
> create mode 100644 support/testing/tests/package/test_mpd/_test_data0
> create mode 100644 support/testing/tests/package/test_mpd/_test_data1
> create mode 100644 support/testing/tests/package/test_mpd/_test_data2
> create mode 100644 support/testing/tests/package/test_mpd/_test_data3
> create mode 100644 support/testing/tests/package/test_mpd/_test_data4
> create mode 100644 support/testing/tests/package/test_mpd/_test_data5
> create mode 100644 support/testing/tests/package/test_mpd/busybox.fragment
> create mode 100755 support/testing/tests/package/test_mpd/post-build.sh
> create mode 100644 support/testing/tests/package/test_mpd/rootfs-overlay/etc/mpd.conf
> create mode 100755 support/testing/tests/package/test_mpd/rootfs-overlay/root/test_mpd.sh
>
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2026-07-11 10:25 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-09 11:08 [Buildroot] [PATCH v2 00/11] add runtime test for mpd Andreas Ziegler
2026-07-09 11:08 ` [Buildroot] [PATCH v2 01/11] package/mpd: install provided sample configuration file as mpd.conf Andreas Ziegler
2026-08-15 17:08 ` Thomas Petazzoni via buildroot
2026-08-17 3:18 ` Andreas Ziegler
2026-07-09 11:08 ` [Buildroot] [PATCH v2 02/11] package/mpd: remove duplicated dependencies from sub-options Andreas Ziegler
2026-08-15 19:37 ` Thomas Petazzoni via buildroot
2026-08-17 3:27 ` Andreas Ziegler
2026-08-17 3:31 ` Andreas Ziegler
2026-07-09 11:08 ` [Buildroot] [PATCH v2 03/11] package/mpd: reorder config items based on order in meson_options.txt Andreas Ziegler
2026-08-15 19:38 ` Thomas Petazzoni via buildroot
2026-08-17 3:40 ` Andreas Ziegler
2026-07-09 11:08 ` [Buildroot] [PATCH v2 04/11] support/testing: add test data for mpd (1/6) Andreas Ziegler
2026-08-15 19:41 ` Thomas Petazzoni via buildroot
2026-08-17 3:47 ` Andreas Ziegler
2026-08-17 6:59 ` Thomas Petazzoni via buildroot
2026-08-17 11:27 ` Andreas Ziegler
2026-08-17 12:14 ` Thomas Petazzoni via buildroot
2026-08-18 3:10 ` Andreas Ziegler
2026-07-09 11:08 ` [Buildroot] [PATCH v2 05/11] support/testing: add test data for mpd (2/6) Andreas Ziegler
2026-07-09 11:08 ` [Buildroot] [PATCH v2 06/11] support/testing: add test data for mpd (3/6) Andreas Ziegler
2026-07-09 11:08 ` [Buildroot] [PATCH v2 07/11] support/testing: add test data for mpd (4/6) Andreas Ziegler
2026-07-09 11:08 ` [Buildroot] [PATCH v2 08/11] support/testing: add test data for mpd (5/6) Andreas Ziegler
2026-07-09 11:08 ` [Buildroot] [PATCH v2 09/11] support/testing: add test data for mpd (6/6) Andreas Ziegler
2026-07-09 11:08 ` [Buildroot] [PATCH v2 10/11] support/testing: add runtime test for mpd Andreas Ziegler
2026-07-09 11:08 ` [Buildroot] [PATCH v2 11/11] DEVELOPERS: add entry for test_mpd Andreas Ziegler
2026-07-11 10:24 ` Fiona Klute via buildroot [this message]
2026-07-12 2:54 ` [Buildroot] [PATCH v2 00/11] add runtime test for mpd Andreas Ziegler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c06472fc-be68-49ce-9a8f-a8411be6d520@gmx.de \
--to=buildroot@buildroot.org \
--cc=br025@umbiko.net \
--cc=buildroot@bubu1.eu \
--cc=fiona.klute@gmx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox