12 Commits

Author SHA1 Message Date
Jerome Lambourg
4ef839c85c Adjust tests after change of API for project loading. 2024-06-01 19:43:04 +02:00
Jerome Lambourg
ba54406d43 Bump copyright notice to 2024
Also remove copyright from tests

no-issue-check
2024-01-10 11:11:21 +01:00
Jerome Lambourg
399f0071bc Adjust tests for eng/gpr/gpr-issues#145 2023-09-20 08:27:25 +00:00
Jerome Lambourg
50a80ca4f5 gpr2next: fix issue when reloading the tree
The build database is then re-created leading to an assertion while
it should be updated instead.

Found while looking at executable-dir test regression.

Fixes executable-dir, library-definitions, mains and object-directory tests.

For eng/gpr/gpr-issues#67
2023-05-23 16:15:03 +02:00
Jerome Lambourg
173f8dd1f0 Mark tests failing with libgpr2-next as XFAIL.
This will allow us to have useable testsuite results while we're updating
the tests.

Enable test in the CI

For eng/gpr/gpr-issues#58
2023-05-22 11:59:28 +02:00
Jerome Lambourg
b7a1d9ad4b Bump copyright year.
Fix eng/gpr/gpr#14
2023-01-02 11:51:43 +01:00
Fabien Chouteau
bb9b6a7bb3 Change license header of GPR2 library to Apache 2.0
no-precommit-check
This patch is rejected by the "Copyright notice must include current
year" check, we actually want to preserve the copyright years here.

TN: V822-021
Change-Id: Iad42ad0863f12d7a3c714855287c5996581910b6
2022-08-24 15:07:24 +00:00
Jérôme Lambourg
3ddedc127b Update year in copyright notice
no-tn-check

Change-Id: I6c02538c84e05dd1668a27f673146cc5793a81c5
2022-01-04 09:26:28 +00:00
Pascal Obry
a1cb48b471 Do not output directory separator for a dir name.
For a directory object the Value (returning full path-name) routine
removes the trailing directory separator.

Update some expected output.

Fixes O325-017-out-of-tree-2.
Part of S502-021.

Change-Id: Id946296721beadf14811fd95bbbaed9516e2336f
2019-06-17 21:05:43 +02:00
Robin Morier
fb4488f3cb Change all headers to Adacore (2019).
Change-Id: I42bb106e26be87e226a3d202b80d9edc1446afe5
2019-02-12 11:59:41 +01:00
Dmitriy Anisimkov
559784d5ef gprinstall and gprclean support for --subdirs option
Change-Id: I194915d4e165bf752144d654ae1c4e1f4cdba444
2018-12-19 20:23:30 +06:00
Pascal Obry
cd338517ea Add new routine Executable_Directory.
This corresponds to the directory where the executable are created.
It is either defined by Exec_Dir or Object_Dir attributes and default
to the project root directory.

Add corresponding regression test.

Change-Id: Ia3be015f2f756178ce755d6d55967903e0a85dbb
2018-08-14 14:59:40 +02:00