f38
imports/e9/os-autoinst-4.6%5e20230527git1946eb1-1.el9
parent
ce0202fe5a
commit
768b4be0d2
@ -1,34 +0,0 @@
|
|||||||
From 9ad6aff94093ee4fcc9231cd3eadd4c0934e2216 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Adam Williamson <awilliam@redhat.com>
|
|
||||||
Date: Wed, 19 Apr 2023 16:12:15 -0700
|
|
||||||
Subject: [PATCH] Drop setting of TESSDATA_PREFIX in invoke-tests
|
|
||||||
|
|
||||||
It's not appropriate to do this here. This is not the right path
|
|
||||||
on all distros. Forcing this path here makes it impossible to run
|
|
||||||
the tests successfully on e.g. Fedora, where the tesseract data
|
|
||||||
is in /usr/share/tesseract/tessdata (and there is no need to
|
|
||||||
explicitly specify this, as tesseract is built to find it there
|
|
||||||
without any such specification).
|
|
||||||
|
|
||||||
Signed-off-by: Adam Williamson <awilliam@redhat.com>
|
|
||||||
---
|
|
||||||
tools/invoke-tests | 3 ---
|
|
||||||
1 file changed, 3 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/tools/invoke-tests b/tools/invoke-tests
|
|
||||||
index 15e6593b..8f7de0cc 100755
|
|
||||||
--- a/tools/invoke-tests
|
|
||||||
+++ b/tools/invoke-tests
|
|
||||||
@@ -52,9 +52,6 @@ fi
|
|
||||||
export OS_AUTOINST_BUILD_DIRECTORY=$build_directory
|
|
||||||
export OS_AUTOINST_MAKE_TOOL=$make_path
|
|
||||||
|
|
||||||
-# set TESSDATA_PREFIX for 02-test_ocr.t
|
|
||||||
-export TESSDATA_PREFIX='/usr/share/tessdata/'
|
|
||||||
-
|
|
||||||
args=()
|
|
||||||
# use unbuffer if it was found so e.g. timestamps on OBS builds will be useful
|
|
||||||
# note: When executing tests with prove it seems that the output is only flushed after one test has finished unless there's a terminal.
|
|
||||||
--
|
|
||||||
2.40.0
|
|
||||||
|
|
@ -1 +1 @@
|
|||||||
SHA512 (os-autoinst-6802f4479120a2954adbfba6dbe2779842c5ac91.tar.gz) = d903cb9e628a58ecc45a52a4c58060c62e6f854e4ef4b72a92836088cc3f5738a61f1d31c371b649de36c4a2075b7b9a78fdf9dc77e5f561d98dd0c20ef7a7ca
|
SHA512 (os-autoinst-1946eb18d76980581d842e1e2569dee33e5a5b45.tar.gz) = add28e23c1c32e50e191f6afcc99f7e75d550a3b398b97586989f9a828298fe8088e7d2a749a2d4c5a984f165ca95548e3420eefd08ccd34c51c1b4b7cbf87b1
|
||||||
|
Loading…
Reference in new issue