mirror of
https://git.code.sf.net/p/zint/code
synced 2026-01-21 19:06:05 +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:
@@ -67,7 +67,7 @@ static void test_pixel_plot(const testCtx *const p_ctx) {
|
||||
|
||||
const char *const have_identify = testUtilHaveIdentify();
|
||||
|
||||
testStart("test_pixel_plot");
|
||||
testStart(p_ctx->func_name);
|
||||
|
||||
for (i = 0; i < data_size; i++) {
|
||||
int size;
|
||||
@@ -160,7 +160,7 @@ static void test_print(const testCtx *const p_ctx) {
|
||||
|
||||
const char *const have_identify = testUtilHaveIdentify();
|
||||
|
||||
testStart("test_print");
|
||||
testStart(p_ctx->func_name);
|
||||
|
||||
if (p_ctx->generate) {
|
||||
char data_dir_path[1024];
|
||||
@@ -255,7 +255,7 @@ static void test_outfile(const testCtx *const p_ctx) {
|
||||
|
||||
(void)p_ctx;
|
||||
|
||||
testStart("test_outfile");
|
||||
testStart(p_ctx->func_name);
|
||||
|
||||
symbol.symbology = BARCODE_CODE128;
|
||||
symbol.bitmap = data;
|
||||
|
||||
Reference in New Issue
Block a user