aboutsummaryrefslogtreecommitdiff
path: root/debian/patches/0004-Temporarily-disable-CPU-test.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/0004-Temporarily-disable-CPU-test.patch')
-rw-r--r--debian/patches/0004-Temporarily-disable-CPU-test.patch44
1 files changed, 44 insertions, 0 deletions
diff --git a/debian/patches/0004-Temporarily-disable-CPU-test.patch b/debian/patches/0004-Temporarily-disable-CPU-test.patch
new file mode 100644
index 0000000..269d016
--- /dev/null
+++ b/debian/patches/0004-Temporarily-disable-CPU-test.patch
@@ -0,0 +1,44 @@
+From: Sebastian Ramacher <sramacher@debian.org>
+Date: Mon, 1 Apr 2024 15:13:03 +0200
+Subject: Temporarily disable CPU test
+
+Parsing of the max CPU frequency is broken on ARM.
+---
+ tests/libgav1_tests.cmake | 17 -----------------
+ 1 file changed, 17 deletions(-)
+
+diff --git a/tests/libgav1_tests.cmake b/tests/libgav1_tests.cmake
+index 209054b..76eece7 100644
+--- a/tests/libgav1_tests.cmake
++++ b/tests/libgav1_tests.cmake
+@@ -99,7 +99,6 @@ list(APPEND libgav1_common_sse4_test_sources
+ "${libgav1_source}/dsp/x86/common_sse4_test.h")
+ list(APPEND libgav1_convolve_test_sources
+ "${libgav1_source}/dsp/convolve_test.cc")
+-list(APPEND libgav1_cpu_test_sources "${libgav1_source}/utils/cpu_test.cc")
+ list(APPEND libgav1_c_decoder_test_sources
+ "${libgav1_source}/c_decoder_test.c"
+ "${libgav1_source}/decoder_test_data.h")
+@@ -339,22 +338,6 @@ macro(libgav1_add_tests_targets)
+ libgav1_gtest
+ libgav1_gtest_main)
+
+- libgav1_add_executable(TEST
+- NAME
+- cpu_test
+- SOURCES
+- ${libgav1_cpu_test_sources}
+- DEFINES
+- ${libgav1_defines}
+- INCLUDES
+- ${libgav1_test_include_paths}
+- OBJLIB_DEPS
+- libgav1_utils
+- LIB_DEPS
+- ${libgav1_common_test_absl_deps}
+- libgav1_gtest
+- libgav1_gtest_main)
+-
+ libgav1_add_executable(TEST
+ NAME
+ entropy_decoder_test