mirror of
https://git.code.sf.net/p/zint/code
synced 2025-06-06 17:41:45 -04:00
Document the need to set PATH correctly
This commit is contained in:
parent
3114a6697b
commit
443e696411
1 changed files with 11 additions and 2 deletions
|
@ -2,11 +2,20 @@ Zint frontend test suite
|
||||||
------------------------
|
------------------------
|
||||||
|
|
||||||
See <project-dir>/backend/tests/README to see how to build the 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:
|
||||||
|
|
||||||
Only a single test is defined:
|
cd <build-dir>/frontend/test
|
||||||
|
|
||||||
./test_args
|
./test_args
|
||||||
|
|
||||||
As with the backend tests, individual test functions and single dataset items
|
As with the backend tests, individual test functions and single dataset items
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue