mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
.. | ||
cmake/Modules | ||
data | ||
tools | ||
CMakeLists.txt | ||
README | ||
test_channel.c | ||
test_common.c | ||
test_composite.c | ||
test_dmatrix.c | ||
test_eci.c | ||
test_gb2312_tab.h | ||
test_gb2312.c | ||
test_gridmtx.c | ||
test_gs1.c | ||
test_imail.c | ||
test_library.c | ||
test_mailmark.c | ||
test_maxicode.c | ||
test_postal.c | ||
test_qr.c | ||
test_raster.c | ||
test_rss.c | ||
test_sjis_tab.h | ||
test_sjis.c | ||
test_upcean.c | ||
test_vector.c | ||
testcommon.c | ||
testcommon.h |
Zint backend test suite ----------------------- To make: cd <project-dir> cd backend/tests mkdir build cd build cmake .. make To run all tests: make test To run individual tests, eg: ./test_common ./test_vector To make with gcc sanitize, first set for libzint and make: cd <project-dir> cd build cmake -DZINT_SANITIZE:BOOL=1 .. make && sudo make install Then set for tests and make: cd <project-dir> cd backend/tests/build cmake -DZINT_SANITIZE:BOOL=1 .. make Similarly to make with gcc debug: cd <project-dir> cd build cmake -DZINT_DEBUG:BOOL=1 .. make && sudo make install cd <project-dir> cd backend/tests/build cmake -DZINT_DEBUG:BOOL=1 .. make To undo sanitize/debug, remake each after setting: cmake -DZINT_SANITIZE:BOOL=0 .. cmake -DZINT_DEBUG:BOOL=0 .. Note that sanitize is not safe to use in production, as it's a security risk.