comparison mupdf-source/thirdparty/zint/backend/tests/tools/run_zxingcpp_tests.sh @ 2:b50eed0cc0ef upstream

ADD: MuPDF v1.26.7: the MuPDF source as downloaded by a default build of PyMuPDF 1.26.4. The directory name has changed: no version number in the expanded directory now.
author Franz Glasner <fzglas.hg@dom66.de>
date Mon, 15 Sep 2025 11:43:07 +0200
parents
children
comparison
equal deleted inserted replaced
1:1d09e1dec1d9 2:b50eed0cc0ef
1 #!/bin/bash
2 # Copyright (C) 2021-2024 Robin Stuart <rstuart114@gmail.com>
3 # SPDX-License-Identifier: BSD-3-Clause
4 # vim: set ts=4 sw=4 et :
5 set -e
6
7 function run_zxingcpp_test() {
8 if [ -z "$2" ]; then
9 echo -e "\n$1"
10 backend/tests/$1 -d $(expr 512 + 16 + 32) || exit 1
11 else
12 echo -e "\n$1 -f $2"
13 backend/tests/$1 -f "$2" -d $(expr 512 + 16 + 32) || exit 1
14 fi
15 }
16
17 run_zxingcpp_test "test_2of5" "encode"
18 run_zxingcpp_test "test_aztec" "large"
19 run_zxingcpp_test "test_aztec" "encode"
20 run_zxingcpp_test "test_aztec" "encode_segs"
21 run_zxingcpp_test "test_aztec" "fuzz"
22 run_zxingcpp_test "test_codablock" "input"
23 run_zxingcpp_test "test_codablock" "encode"
24 run_zxingcpp_test "test_codablock" "fuzz"
25 run_zxingcpp_test "test_code" "encode"
26 run_zxingcpp_test "test_code128"
27 run_zxingcpp_test "test_code16k" "input"
28 run_zxingcpp_test "test_code16k" "encode"
29 run_zxingcpp_test "test_dmatrix" "input"
30 run_zxingcpp_test "test_dmatrix" "encode"
31 run_zxingcpp_test "test_dmatrix" "encode_segs"
32 run_zxingcpp_test "test_dotcode" "input"
33 run_zxingcpp_test "test_dotcode" "encode"
34 run_zxingcpp_test "test_dotcode" "encode_segs"
35 run_zxingcpp_test "test_hanxin"
36 run_zxingcpp_test "test_mailmark" "2d_encode"
37 run_zxingcpp_test "test_maxicode" "large"
38 run_zxingcpp_test "test_maxicode" "input"
39 run_zxingcpp_test "test_maxicode" "encode"
40 run_zxingcpp_test "test_maxicode" "encode_segs"
41 run_zxingcpp_test "test_maxicode" "best_supported_set"
42 run_zxingcpp_test "test_medical" "encode"
43 run_zxingcpp_test "test_pdf417" "reader_init"
44 run_zxingcpp_test "test_pdf417" "input"
45 run_zxingcpp_test "test_pdf417" "encode"
46 run_zxingcpp_test "test_pdf417" "encode_segs"
47 run_zxingcpp_test "test_pdf417" "fuzz"
48 run_zxingcpp_test "test_qr"
49 run_zxingcpp_test "test_rss" "binary_div_modulo_divisor"
50 run_zxingcpp_test "test_rss" "examples"
51 run_zxingcpp_test "test_upcean" "upce_input"
52 run_zxingcpp_test "test_upcean" "encode"