Cross Reference: 02-test.patch
xref
: /
solaris-userland
/
components
/
desktop
/
liblouis
/
patches
/
02-test.patch
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
7322
N/A
In our build environment the test script was failing because lou_checktable
7322
N/A
was looking for the passed in pathname under $LOUIS_TABLEPATH and thus all
7322
N/A
tests failed with a doubled pathname, effectively
7322
N/A
$(top_srcdir)/tables/$(top_srcdir)
/tables/tablename
.
7322
N/A
7322
N/A
Upstream has replaced this shell script with a perl script, so we need to see
7322
N/A
if it has the same problem before figuring out if we need to submit upstream.
7322
N/A
7322
N/A
---
liblouis-2.1.1/tests/check_all_tables
7322
N/A
+++
liblouis-2.1.1/tests/check_all_tables
7322
N/A
@@ -13,7 +13,7 @@
7322
N/A
TABLES=`ls $LOUIS_TABLEPATH/*.[cu]tb $LOUIS_TABLEPATH/*.cti $LOUIS_TABLEPATH/*.dis | grep -v
countries.cti
| grep -v
compress.ctb
| grep -v
corrections.ctb
| grep -v core.[cu]tb`
7322
N/A
7322
N/A
for table in $TABLES; do
7322
N/A
- if ! lou_checktable $table 2>
/dev/null
; then
7322
N/A
+ if ! lou_checktable $(basename $table); then
7322
N/A
echo "lou_checktable on $table failed";
7322
N/A
fail=1;
7322
N/A
fi