From 18453bb5d2a4c0e54aab8a0c24a2330391cdcad6 Mon Sep 17 00:00:00 2001 From: gitlost Date: Wed, 5 Feb 2025 09:16:07 +0000 Subject: [PATCH] run_zxingcpp_tests.sh: remove defunct `best_supported_set` (maxicode) testcommon: comment BUILD_EXAMPLE_DECODER -> ZXING_EXAMPLE_DECODER --- backend/tests/testcommon.c | 6 +++--- backend/tests/tools/run_zxingcpp_tests.sh | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/backend/tests/testcommon.c b/backend/tests/testcommon.c index 60d3f81b..5195c242 100644 --- a/backend/tests/testcommon.c +++ b/backend/tests/testcommon.c @@ -3689,12 +3689,12 @@ int testUtilBwippCmpRow(const struct zint_symbol *symbol, int row, char *msg, co } /* Whether ZXing-C++ Decoder available on system */ -/* Requires the "diagnostics2" branch from https://github.com/gitlost/zxing-cpp built with BUILD_EXAMPLE_DECODER - and "zxingcppdecoder" placed in PATH, e.g.: +/* Requires the "diagnostics2" branch from https://github.com/gitlost/zxing-cpp built with ZXING_EXAMPLE_DECODER + defined and "zxingcppdecoder" placed in PATH, e.g.: git clone --branch diagnostics2 https://github.com/gitlost/zxing-cpp zxing-cpp-diagnostics2 cd zxing-cpp-diagnostics2 mkdir build; cd build - cmake -DCMAKE_INSTALL_PREFIX=/usr/local -DBUILD_EXAMPLE_DECODER=ON .. + cmake -DCMAKE_INSTALL_PREFIX=/usr/local -DZXING_EXAMPLE_DECODER=ON .. make && sudo make install */ int testUtilHaveZXingCPPDecoder(void) { diff --git a/backend/tests/tools/run_zxingcpp_tests.sh b/backend/tests/tools/run_zxingcpp_tests.sh index 8d1faa09..bcba718b 100755 --- a/backend/tests/tools/run_zxingcpp_tests.sh +++ b/backend/tests/tools/run_zxingcpp_tests.sh @@ -43,7 +43,6 @@ run_zxingcpp_test "test_maxicode" "large" run_zxingcpp_test "test_maxicode" "input" run_zxingcpp_test "test_maxicode" "encode" run_zxingcpp_test "test_maxicode" "encode_segs" -run_zxingcpp_test "test_maxicode" "best_supported_set" run_zxingcpp_test "test_medical" "encode" run_zxingcpp_test "test_pdf417" "reader_init" run_zxingcpp_test "test_pdf417" "input"