From 2954912bc04e784a4dff94dadb212654bbb49689 Mon Sep 17 00:00:00 2001 From: "Gerber, Mike" Date: Mon, 7 Aug 2023 19:29:33 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=94=20Add=20test=20for=20core?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test-core.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 test-core.sh diff --git a/test-core.sh b/test-core.sh new file mode 100755 index 0000000..04467cd --- /dev/null +++ b/test-core.sh @@ -0,0 +1,14 @@ +#!/bin/sh +set -ex + +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 +unzip actevedef_718448162.first-page+binarization+segmentation.zip +cd actevedef_718448162.first-page+binarization+segmentation + +# Run tests +ocrd workspace validate \ + --page-coordinate-consistency off