mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-27 13:34:19 -04:00
Temporarily disable BARCODE_RAW_TEXT
prior to 2.15.0 release, as
it's not stable yet. `text_length` is kept.
This commit is contained in:
parent
c11ab5528d
commit
e4663e48cf
23 changed files with 173 additions and 205 deletions
|
@ -779,6 +779,9 @@ static void test_hrt_cpy_iso8859_1(const testCtx *const p_ctx) {
|
|||
assert_zero(strcmp((char *) symbol->text, data[i].expected), "i:%d symbol->text (%s) != expected (%s)\n",
|
||||
i, symbol->text, data[i].expected);
|
||||
|
||||
#if 1 /* BARCODE_RAW_TEXT temporarily disabled */
|
||||
(void)expected;
|
||||
#else
|
||||
memset(symbol, 0, sizeof(*symbol));
|
||||
symbol->output_options = BARCODE_RAW_TEXT;
|
||||
|
||||
|
@ -797,6 +800,7 @@ static void test_hrt_cpy_iso8859_1(const testCtx *const p_ctx) {
|
|||
assert_equal(symbol->text_length, expected_length, "i:%d text_length %d != expected_length %d\n",
|
||||
i, symbol->text_length, expected_length);
|
||||
assert_zero(memcmp(symbol->text, expected, symbol->text_length), "i:%d symbol->text (%s) != expected (%s)\n", i, symbol->text, expected);
|
||||
#endif
|
||||
}
|
||||
|
||||
testFinish();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue