mirror of
https://git.code.sf.net/p/zint/code
synced 2026-01-22 03:16:02 +00:00
general: change BARCODE_RAW_TEXT to write to new zint_symbol
fields `raw_segs` and `raw_seg_count` instead of `text`, and to do so for all symbologies, using new common funcs `rt_cpy()` etc. MICROPDF417: return ECC percentage in top byte of `option_1` DBAR_EXP_STK: return `option_2`/`option_3` feedback CLI: change warning text "ignoring" -> "**IGNORED**" GUI: show feedback for DBAR_EXP_STK, MICROPDF417, UPNQR ctest: fix recent inability to run tests via "ctest" on Windows (MSVC) by using cmake 3.22 feature `ENVIRONMENT_MODIFICATION` manual: document feedback and RAW_TEXT in new "Feedback" section; rephrase some symbology descriptions test suite: new general-use arg "-a"; add `func_name` to context; new "test_bwipp" test for testing BWIPP against ZXing-C++
This commit is contained in:
@@ -73,7 +73,7 @@ static void test_svg(const testCtx *const p_ctx) {
|
||||
int i, length, ret;
|
||||
struct zint_symbol *symbol = NULL;
|
||||
|
||||
testStartSymbol("test_svg", &symbol);
|
||||
testStartSymbol(p_ctx->func_name, &symbol);
|
||||
|
||||
for (i = 0; i < data_size; i++) {
|
||||
|
||||
@@ -154,7 +154,7 @@ static void test_putsf(const testCtx *const p_ctx) {
|
||||
char buf[512] = {0}; /* Suppress clang-16/17 run-time exception MemorySanitizer: use-of-uninitialized-value */
|
||||
#endif
|
||||
|
||||
testStart("test_putsf");
|
||||
testStart(p_ctx->func_name);
|
||||
|
||||
for (j = 0; j < 2; j++) { /* 1st `memfile`, then file */
|
||||
#ifdef ZINT_TEST_NO_FMEMOPEN
|
||||
@@ -247,7 +247,7 @@ static void test_printf(const testCtx *const p_ctx) {
|
||||
|
||||
(void)debug;
|
||||
|
||||
testStart("test_printf");
|
||||
testStart(p_ctx->func_name);
|
||||
|
||||
for (j = 0; j < 2; j++) { /* 1st memfile, then file */
|
||||
ZBarcode_Reset(symbol);
|
||||
@@ -344,7 +344,7 @@ static void test_seek(const testCtx *const p_ctx) {
|
||||
|
||||
(void)debug;
|
||||
|
||||
testStart("test_seek");
|
||||
testStart(p_ctx->func_name);
|
||||
|
||||
for (j = 0; j < 2; j++) { /* 1st memfile, then file */
|
||||
ZBarcode_Reset(symbol);
|
||||
@@ -434,7 +434,7 @@ static void test_large(const testCtx *const p_ctx) {
|
||||
|
||||
(void)debug;
|
||||
|
||||
testStart("test_large");
|
||||
testStart(p_ctx->func_name);
|
||||
|
||||
symbol = ZBarcode_Create();
|
||||
assert_nonnull(symbol, "Symbol not created\n");
|
||||
|
||||
Reference in New Issue
Block a user