mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
624d40021e
UTF-16LE, GBK, separate GB18030, UTF-32BE, UTF-32LE add examples to tests for DATAMATRIX, HANXIN, QRCODE HANXIN: Remove alternating filler in function information; GB 18030 now ECI 32 (previously used ECI 29); fix gate-posts on codeword limits use new ZXing-C++ HanXin detector (diagnostics2 branch) for tests check against ISO/IEC 20830:2021 (no substantive changes) backend_tcl: update ECIs; NOTE: changed names "unicode" -> "utf-16be", "euc-cn" -> "gb2312" GRIDMATRIX/HANXIN/QRCODE/RMQR: warn if auto-conversion (i.e. no ECI given) occurs to resp. specialized char sets (GB 2312/GB 18030/Shift JIS)
27 lines
906 B
Bash
Executable File
27 lines
906 B
Bash
Executable File
#!/bin/bash
|
|
# Copyright (C) 2021-2022 Robin Stuart <rstuart114@gmail.com>
|
|
# vim: set ts=4 sw=4 et :
|
|
set -e
|
|
|
|
function run_zxingcpp_test() {
|
|
echo -e "\n$1 -f $2"
|
|
backend/tests/$1 -f "$2" -d $(expr 512 + 16 + 32) || exit 1
|
|
}
|
|
|
|
run_zxingcpp_test "test_2of5" "encode"
|
|
run_zxingcpp_test "test_aztec" "encode"
|
|
run_zxingcpp_test "test_code" "encode"
|
|
run_zxingcpp_test "test_code128" "encode"
|
|
run_zxingcpp_test "test_dmatrix" "input"
|
|
run_zxingcpp_test "test_dmatrix" "encode"
|
|
run_zxingcpp_test "test_dotcode" "encode"
|
|
run_zxingcpp_test "test_hanxin" "encode"
|
|
run_zxingcpp_test "test_maxicode" "encode"
|
|
run_zxingcpp_test "test_medical" "encode"
|
|
run_zxingcpp_test "test_pdf417" "encode"
|
|
run_zxingcpp_test "test_qr" "qr_encode"
|
|
run_zxingcpp_test "test_rss" "binary_div_modulo_divisor"
|
|
run_zxingcpp_test "test_rss" "examples"
|
|
run_zxingcpp_test "test_upcean" "upce_input"
|
|
run_zxingcpp_test "test_upcean" "encode"
|