* [Buildroot] [PATCH 1/1] support/testing: add flac runtime test
@ 2024-08-08 21:06 Julien Olivain
2026-01-04 10:53 ` Thomas Petazzoni via buildroot
2026-01-13 19:44 ` Arnout Vandecappelle via buildroot
0 siblings, 2 replies; 3+ messages in thread
From: Julien Olivain @ 2024-08-08 21:06 UTC (permalink / raw)
To: buildroot; +Cc: Julien Olivain
Signed-off-by: Julien Olivain <ju.o@free.fr>
---
Patch tested in:
https://gitlab.com/jolivain/buildroot/-/jobs/7540310064
---
DEVELOPERS | 1 +
support/testing/tests/package/test_flac.py | 20 ++++++++++++++++++++
2 files changed, 21 insertions(+)
create mode 100644 support/testing/tests/package/test_flac.py
diff --git a/DEVELOPERS b/DEVELOPERS
index d7d0af3543..1255993b39 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -1857,6 +1857,7 @@ F: support/testing/tests/package/test_ethtool.py
F: support/testing/tests/package/test_ethtool/
F: support/testing/tests/package/test_file.py
F: support/testing/tests/package/test_file/
+F: support/testing/tests/package/test_flac.py
F: support/testing/tests/package/test_fluidsynth.py
F: support/testing/tests/package/test_fluidsynth/
F: support/testing/tests/package/test_fping.py
diff --git a/support/testing/tests/package/test_flac.py b/support/testing/tests/package/test_flac.py
new file mode 100644
index 0000000000..9ee7bc1c0d
--- /dev/null
+++ b/support/testing/tests/package/test_flac.py
@@ -0,0 +1,20 @@
+from tests.package.test_audio_codec_base import TestAudioCodecBase
+
+
+class TestFlac(TestAudioCodecBase):
+ __test__ = True
+ config = TestAudioCodecBase.config + \
+ """
+ BR2_PACKAGE_FLAC=y
+ """
+ encoded_file = "encoded.flac"
+
+ def encode_test(self, input_filename):
+ cmd = "flac"
+ cmd += f" -o {self.encoded_file} {input_filename}"
+ self.assertRunOk(cmd)
+
+ def decode_test(self, output_filename):
+ cmd = "flac -d"
+ cmd += f" -o {output_filename} {self.encoded_file}"
+ self.assertRunOk(cmd)
--
2.46.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [Buildroot] [PATCH 1/1] support/testing: add flac runtime test
2024-08-08 21:06 [Buildroot] [PATCH 1/1] support/testing: add flac runtime test Julien Olivain
@ 2026-01-04 10:53 ` Thomas Petazzoni via buildroot
2026-01-13 19:44 ` Arnout Vandecappelle via buildroot
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni via buildroot @ 2026-01-04 10:53 UTC (permalink / raw)
To: Julien Olivain; +Cc: buildroot
On Thu, 8 Aug 2024 23:06:03 +0200
Julien Olivain <ju.o@free.fr> wrote:
> Signed-off-by: Julien Olivain <ju.o@free.fr>
> ---
> Patch tested in:
> https://gitlab.com/jolivain/buildroot/-/jobs/7540310064
> ---
> DEVELOPERS | 1 +
> support/testing/tests/package/test_flac.py | 20 ++++++++++++++++++++
> 2 files changed, 21 insertions(+)
> create mode 100644 support/testing/tests/package/test_flac.py
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH 1/1] support/testing: add flac runtime test
2024-08-08 21:06 [Buildroot] [PATCH 1/1] support/testing: add flac runtime test Julien Olivain
2026-01-04 10:53 ` Thomas Petazzoni via buildroot
@ 2026-01-13 19:44 ` Arnout Vandecappelle via buildroot
1 sibling, 0 replies; 3+ messages in thread
From: Arnout Vandecappelle via buildroot @ 2026-01-13 19:44 UTC (permalink / raw)
To: Julien Olivain; +Cc: Arnout Vandecappelle, buildroot
In reply of:
> Signed-off-by: Julien Olivain <ju.o@free.fr>
Applied to 2025.02.x and 2025.11.x. Thanks
> ---
> Patch tested in:
> https://gitlab.com/jolivain/buildroot/-/jobs/7540310064
> ---
> DEVELOPERS | 1 +
> support/testing/tests/package/test_flac.py | 20 ++++++++++++++++++++
> 2 files changed, 21 insertions(+)
> create mode 100644 support/testing/tests/package/test_flac.py
>
> diff --git a/DEVELOPERS b/DEVELOPERS
> index d7d0af3543..1255993b39 100644
> --- a/DEVELOPERS
> +++ b/DEVELOPERS
> @@ -1857,6 +1857,7 @@ F: support/testing/tests/package/test_ethtool.py
> F: support/testing/tests/package/test_ethtool/
> F: support/testing/tests/package/test_file.py
> F: support/testing/tests/package/test_file/
> +F: support/testing/tests/package/test_flac.py
> F: support/testing/tests/package/test_fluidsynth.py
> F: support/testing/tests/package/test_fluidsynth/
> F: support/testing/tests/package/test_fping.py
> diff --git a/support/testing/tests/package/test_flac.py b/support/testing/tests/package/test_flac.py
> new file mode 100644
> index 0000000000..9ee7bc1c0d
> --- /dev/null
> +++ b/support/testing/tests/package/test_flac.py
> @@ -0,0 +1,20 @@
> +from tests.package.test_audio_codec_base import TestAudioCodecBase
> +
> +
> +class TestFlac(TestAudioCodecBase):
> + __test__ = True
> + config = TestAudioCodecBase.config + \
> + """
> + BR2_PACKAGE_FLAC=y
> + """
> + encoded_file = "encoded.flac"
> +
> + def encode_test(self, input_filename):
> + cmd = "flac"
> + cmd += f" -o {self.encoded_file} {input_filename}"
> + self.assertRunOk(cmd)
> +
> + def decode_test(self, output_filename):
> + cmd = "flac -d"
> + cmd += f" -o {output_filename} {self.encoded_file}"
> + self.assertRunOk(cmd)
> --
> 2.46.0
>
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-01-13 19:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-08 21:06 [Buildroot] [PATCH 1/1] support/testing: add flac runtime test Julien Olivain
2026-01-04 10:53 ` Thomas Petazzoni via buildroot
2026-01-13 19:44 ` Arnout Vandecappelle via buildroot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox