Skip to content

Commit 41dab7c

Browse files
committed
Merge branch 'mr/pmderodat/doc' into 'master'
gnatcov doc: state that GPR_PROJECT_PATH needs an update with --prefix Closes #182 See merge request eng/das/cov/gnatcoverage!367 Closes https://gitlab.adacore-it.com/eng/das/cov/gnatcoverage/-/issues/182
2 parents adb8813 + 2782834 commit 41dab7c

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

Diff for: doc/gnatcov/src_traces.rst

+10-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,16 @@ another location, pass the :cmd-option:`--prefix` option:
8383

8484
.. code-block:: sh
8585
86-
gnatcov setup --prefix=/usr/local
86+
gnatcov setup --prefix=/usr/custom
87+
88+
When installing the coverage runtime to a non-default location, tools that
89+
process project files must be instructed how to find the coverage runtime
90+
project file that is installed. To achieve this, update the
91+
``GPR_PROJECT_PATH`` environment variable:
92+
93+
.. code-block:: sh
94+
95+
export GPR_PROJECT_PATH=$GPR_PROJECT_PATH:/usr/custom/share/gpr
8796
8897
8998
Multiple runtimes in the same prefix

0 commit comments

Comments
 (0)