✔ Use same "poor man's fixture" for all tests

master
Gerber, Mike 11 months ago
parent c26b1bf01d
commit 5ad39e4179

@ -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…
Cancel
Save