mirror of
https://github.com/qurator-spk/ocrd-galley.git
synced 2025-07-01 01:19:52 +02:00
✔ Use same "poor man's fixture" for all tests
This commit is contained in:
parent
c26b1bf01d
commit
5ad39e4179
4 changed files with 8 additions and 5 deletions
|
@ -1,8 +1,8 @@
|
|||
#!/bin/sh
|
||||
set -ex
|
||||
|
||||
test_name=`basename $0`
|
||||
cd `mktemp -d /tmp/test-$test_name-XXXXX`
|
||||
test_id=`basename $0`
|
||||
cd `mktemp -d /tmp/$test_id-XXXXX`
|
||||
|
||||
# Prepare test workspace
|
||||
wget https://qurator-data.de/examples/actevedef_718448162.first-page+binarization+segmentation.zip
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
#!/bin/sh
|
||||
set -ex
|
||||
|
||||
cd `mktemp -d /tmp/test-ocrd_olena-XXXXX`
|
||||
test_id=`basename $0`
|
||||
cd `mktemp -d /tmp/$test_id-XXXXX`
|
||||
|
||||
# Prepare test workspace
|
||||
wget https://qurator-data.de/examples/actevedef_718448162.first-page+binarization+segmentation.zip
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
#!/bin/sh
|
||||
set -ex
|
||||
|
||||
cd `mktemp -d /tmp/test-ocrd_tesserocr-XXXXX`
|
||||
test_id=`basename $0`
|
||||
cd `mktemp -d /tmp/$test_id-XXXXX`
|
||||
|
||||
# Prepare processors
|
||||
ocrd resmgr download ocrd-tesserocr-recognize Fraktur_GT4HistOCR.traineddata
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
#!/bin/sh
|
||||
set -ex
|
||||
|
||||
cd `mktemp -d /tmp/test-ocrd_trocr-XXXXX`
|
||||
test_id=`basename $0`
|
||||
cd `mktemp -d /tmp/$test_id-XXXXX`
|
||||
|
||||
# Prepare processors
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue