Previously, a new parser_result was allocated even when the same option had
already been parsed. This led to memory leaks.
Issue: eng/toolchain/gnatcoll-core#75
When a project is installed, most rpaths become unusable. Performance can
become an issue when searching for rpaths located on a remote filesystem.
Therefore, rpath generation is now disabled by default.
Issue: eng/gpr/gpr-issues#748
reference: https://github.com/AdaCore/gnatcoll-core/issues/109
While running elaboration checks on LibAdalang, these warnings were seen:
libadalang-doc_utils.ads:34:04: warning: in instantiation at gnatcoll-strings_impl.adb:123 [-gnatw.f]
libadalang-doc_utils.ads:34:04: warning: "Access" attribute of "Make_Writable_Thread_Safe" before body seen [-gnatw.f]
libadalang-doc_utils.ads:34:04: warning: possible Program_Error on later references [-gnatw.f]
libadalang-doc_utils.ads:34:04: warning: spec of unit "Doc_Utils" elaborated [-gnatw.f]
libadalang-doc_utils.ads:34:04: warning: "Access" of "Make_Writable_Thread_Safe" taken at gnatcoll-strings_impl.adb:123, instance at line 34 [-gnatw.f]
libadalang-doc_utils.ads:34:04: warning: in instantiation at gnatcoll-strings_impl.adb:124 [-gnatw.f]
libadalang-doc_utils.ads:34:04: warning: "Access" attribute of "Make_Writable_Thread_Unsafe" before body seen [-gnatw.f]
libadalang-doc_utils.ads:34:04: warning: possible Program_Error on later references [-gnatw.f]
libadalang-doc_utils.ads:34:04: warning: spec of unit "Doc_Utils" elaborated [-gnatw.f]
libadalang-doc_utils.ads:34:04: warning: "Access" of "Make_Writable_Thread_Unsafe" taken at gnatcoll-strings_impl.adb:124, instance at line 34 [-gnatw.f]
Moving the "Make_Writable" definition after the Make_Writable_Thread_Safe and
Make_Writable_Thread_Unsafe bodies resolved the warnings.
Internal issue: eng/toolchain/gnatcoll-core#152
The TLS variables used in GNATCOLL.OS.Temp require to be compiled in
fPIC mode to be included in a relocatable encapsulated library
successfully.
Fixes: #142
In the BasicTestDriver of gprproject, the test output is passed directly as
input to the post_test.py script. Therefore, this file is no longer needed.
no-tn-check: minor cleanup
Rewrite the root run-tests python script to share the same properties as
with sub run-tests scripts. The common properties are stored in a new
file common_testsuite.py, that inherits from gprproject testsuite.
Also, remove th usage of the drivers that are already defined in
gprproject, like basic.py, and the functions coming dedicated to gnatcov and
valgrind.
Before this patch, passing an empty argument list to the 'Parse'
function of the 'Opt_Parse.Argument_Parser' would always fallback on
parsing the application's command-line.
Now this behavior can be tuned.
A recent change adapted the coverage build of GNATCOLL to adapt to
a change in how gnatcov accepts the `--relocate-build-tree` switch.
It now systematically requires an argument. The previous change failed
to update the call to gnatcov in the testsuite drivers, thus resulting
in empty coverage reports.
This change remediates this issue.