3 Commits

Author SHA1 Message Date
Pierre-Marie de Rodat
16295cef2c Tests: ignore parsing errors with inline playground when necessary
Some tests mean to trigger a parsing error in Ada sources. For them,
disable the printing of parsing errors in the inline playground to avoid
polluting baselines.
2023-07-25 19:03:33 +00:00
Pierre-Marie de Rodat
1ab5c037a8 Fix support for sources that contain multiple compilation units
This commit turns on the "PLE root" Langkit mechanism to be able to run
PLE on each compilation unit independently, even if compilation units
are stored in the same source file.

In addition, it extends all the unit provider where this is possible
(Auto_Provider, Project_Provider for GPR2) so that resolving a unit
yields a filename *plus* the compilation unit index in that source file.

Finally, it adds several testcases to exercize these features.
2023-05-25 13:05:19 +00:00
Pierre-Marie de Rodat
6fecb68c09 Reorganize App tests for the Python API 2023-04-05 08:24:06 +00:00