From 443e6964113e460397efd49503aa6e0c5ae727c9 Mon Sep 17 00:00:00 2001 From: Schaich Date: Tue, 30 Mar 2021 18:12:20 +0900 Subject: [PATCH] Document the need to set PATH correctly --- frontend/tests/README | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/frontend/tests/README b/frontend/tests/README index 85931514..8954211a 100644 --- a/frontend/tests/README +++ b/frontend/tests/README @@ -2,11 +2,20 @@ Zint frontend test suite ------------------------ See /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 +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 /frontend/test ./test_args As with the backend tests, individual test functions and single dataset items