Source: ocrad
Version: 0.24~pre1-2
Tags: patch

The DEP-8 tests fail with:

g++: error: ocrcheck.cc: No such file or directory

Apparently that's because "ocrcheck" has been renamed as "ocradcheck". The attached patch updates the DEP-8 tests accordingly.

--
Jakub Wilk
diff -Nru ocrad-0.24~pre1/debian/tests/tests ocrad-0.24~pre1/debian/tests/tests
--- ocrad-0.24~pre1/debian/tests/tests	2014-07-19 22:43:04.000000000 +0200
+++ ocrad-0.24~pre1/debian/tests/tests	2014-08-08 10:05:19.000000000 +0200
@@ -4,7 +4,7 @@
 testdir=$(readlink -f testsuite/)
 version=$(ocrad --version | sed -n -e '/GNU [oO]crad \(.*\)/ { s//\1/p }')
 ln -sf "$(which ocrad)" "$ADTTMP/"
-g++ -g -O2 -Wall -DPROGVERSION="\"$version\"" ocrcheck.cc -locrad -o "$ADTTMP/ocrcheck"
+g++ -g -O2 -Wall -DPROGVERSION="\"$version\"" ocradcheck.cc -locrad -o "$ADTTMP/ocradcheck"
 cd "$ADTTMP"
 "$testdir/check.sh" "$testdir" "$version"
 

Reply via email to