mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
4a8cac2a5a
PLESSEY: add options NCR weighted mod-10, hide check digit(s) in HRT test suite: now runnable under MSVC 2019, 2017, 2015, MinGW/MSYS win32/README: update with MSVC 2019 and CMake instructions
23 lines
805 B
Plaintext
23 lines
805 B
Plaintext
Zint frontend test suite
|
|
------------------------
|
|
|
|
See <project-dir>/backend/tests/README to see how to build the test suite.
|
|
In addition to the setup for the backend tests, the environment needs to be
|
|
able to find the `zint` application using that name. In UNIX-like systems
|
|
this can be configured by prepending the PATH variable with the frontend's
|
|
directory inside the build directory:
|
|
|
|
cd <build-dir>
|
|
export PATH=$(pwd)/frontend:${PATH}
|
|
|
|
|
|
------------------------------------------------------------------------------
|
|
the frontend test will be automatically run by cmake's ctest, however manual
|
|
invocation is also possible:
|
|
|
|
cd <build-dir>/frontend/test
|
|
./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.
|