mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-10 00:04:06 -09:00
support/testing: test_gstreamer1: fix test by using bootlin toolchain
Since Buildroot commit [1], the test_gstreamer1 runtime test is failing to build the tesseract-ocr package. The root cause is that the test uses the default arm external toolchain, which is the Linaro ARM 2018.05 based on gcc 7.3.1. Since [1], tesseract-orc no longer compiles with gcc 7 (it requires at least gcc 8). This commit fixes the issue by switching the toolchain to the bootlin versions (based on gcc 14 at the time of this commit). Also, changing the compiler version slightly slowed down the video encoding. This commit also increases the encoding command timeout. Fixes: https://gitlab.com/buildroot.org/buildroot/-/jobs/9407846232 [1]f32da8b984Signed-off-by: Julien Olivain <ju.o@free.fr> Signed-off-by: Arnout Vandecappelle <arnout@mind.be> (cherry picked from commit356c70677c)
This commit is contained in:
committed by
Arnout Vandecappelle
parent
333baf2f05
commit
bc018bafdc
@@ -15,6 +15,7 @@ class TestGstreamer1(infra.basetest.BRTest):
|
||||
BR2_cortex_a9=y
|
||||
BR2_ARM_ENABLE_VFP=y
|
||||
BR2_TOOLCHAIN_EXTERNAL=y
|
||||
BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
|
||||
BR2_PACKAGE_DEJAVU=y
|
||||
BR2_PACKAGE_GSTREAMER1=y
|
||||
BR2_PACKAGE_GST1_PLUGINS_BASE=y
|
||||
@@ -60,7 +61,7 @@ class TestGstreamer1(infra.basetest.BRTest):
|
||||
f"timeoverlay text=\"{msg_prefix}\" font-desc=\"Sans, 24\" ! " \
|
||||
f"theoraenc ! oggmux ! filesink location={video_file}"
|
||||
cmd = f"gst-launch-1.0 -v {enc_pipeline}"
|
||||
self.assertRunOk(cmd)
|
||||
self.assertRunOk(cmd, timeout=15)
|
||||
|
||||
# We decode our previous video file and store each frame in a
|
||||
# PNG image file.
|
||||
|
||||
Reference in New Issue
Block a user