zint/frontend/tests
2020-12-21 19:30:07 +00:00
..
cmake/Modules Remove further refs to QZint; win32/README; add zintconfig.h to Win make files 2020-11-24 22:22:12 +00:00
CMakeLists.txt Tabs/typo in zint.h; PostNet -> POSTNET; ui: shortcuts, tooltips; tests inkscape -> libreoffice 2020-10-03 22:51:08 +01:00
README command line: allow data/input args anywhere on line; frontend tests 2020-08-04 22:22:26 +01:00
test_args.c #209 rss.c, composite.c; DBAR_EXP encodation methods; symbol NO_PNG out.gif 2020-12-21 19:30:07 +00:00

Zint frontend test suite
------------------------

See <project-dir>/backend/tests/README first to build the backend test suite, as
its library <project-dir>/backend/tests/build/libtestcommon.a is used here. Then

  cd <project-dir>
  cd frontend/tests
  mkdir build
  cd build
  cmake ..
  make

If the backend test suite was made with -DZINT_SANITIZE:BOOL=1 then instead

  cd <project-dir>
  cd frontend/tests
  mkdir build
  cd build
  cmake -DZINT_SANITIZE:BOOL=1 ..
  make

-DZINT_DEBUG:BOOL=1 can also be used.

------------------------------------------------------------------------------

Only a single test is defined:

./test_args

As with the backend tests, individual test functions and single dataset items
can be run using '-f <func-name>' and '-i <index>' etc.