941 Commits

Author SHA1 Message Date
Pascal Obry
53cff2e1a8 Add default & alternate filters.
Add corresponding regression test and documentation.
v24.0.0
2022-12-20 16:04:12 +01:00
Pascal Obry
8c2ba5dbd8 Minor reformatting. 2022-12-20 16:04:12 +01:00
Pascal Obry
2559eb7609 regtests/Makefile: Ensure PRJ_TARGET is passed.
Fix compilation error while builind and running tests.

Fixes VC15-016.
2022-12-15 20:03:23 +01:00
Pascal Obry
ce314eaf71 docs/Makefile: Ensure PRJ_TARGET is passed to GPRbuild.
Fix compilation error while building documentation.
2022-12-14 10:35:33 +01:00
Nicolas Boulenguez
3eb67d32ad Avoid old ISO-8859 encoding in Ada sources 2022-12-14 09:39:59 +01:00
Blady
548e00e2a2 Select the shared library extension following the actual target. 2022-12-14 09:35:09 +01:00
Joel Brobecker
f833aa9539 Switch the documentation's style to use the RTD theme
This commit adjust the sphinx configuration to use the "Read The Docs"
theme, which has the advantage of allowing the navigation bar
(containing among other things a search bar, and the TOC) to stay
fixed while scrolling the contents of the page being read. This is
particularly useful to allow access to those features while reading
a long page, for instance.

TN: VB25-022
2022-11-28 10:18:54 +01:00
Nicolas Boulenguez
3ed42e949e Clean python bytecode in documentation directory 2022-11-23 13:09:59 +01:00
Nicolas Boulenguez
2233e3052b Recreate docs/RESDIR components after a clean
docs/build/ may not exist yet when docs/Makefile attempts to create
docs/build/samples/.
2022-11-23 13:08:43 +01:00
Pascal Obry
4284e33e3c Fix MACRO tree rewrite.
We do not want to change the tree node in if conditional. Only
the TEXT nodes' values are to be changed.

Add corresponding regression test.

Found while working on V531-036.
2022-11-23 13:06:35 +01:00
Pascal Obry
9986f5a15b Better output for the MACRO in print-tree.
Add all INLINE separators. Properly indent the END_INLINE.
2022-11-23 13:06:35 +01:00
Pascal Obry
50ae7d9f03 Minor reformatting. 2022-11-23 13:06:35 +01:00
Nicolas Boulenguez
602330f693 Optionally let Make display executed commands
Debian automatically rebuilds packages on hardware the developper
does not possess.  When investigating a failure, a verbose log may
save a lot of work: distant connexion, cloning a chroot, installing
build dependencies.
2022-11-23 12:20:43 +01:00
Victor Verbeke
f0fba60ca9 Fix tests on Windows (#55)
* Fix run command with interpreter, fix test paths

Two problems fixed:
- Bug introduced in previous merge request that would crash Run by
  giving it a bad kwarg. Reverted to self.shell, but used the
  e3.sys.interpreter to be more flexible.
- Replaced the tests naming by setting a tests_subdir instead of a
  test_name method, which would crash Windows tests.

TN: V223-017
v23.0.0
2022-06-29 18:15:15 +02:00
Victor Verbeke
e24f882ed4 Merge pull request #54 from VictorVerbeke/master
Replace self.shell with Run from e3 in testsuite
2022-06-27 17:20:44 +02:00
Verbeke Victor
6a7d9a9ef8 Replace self.shell with Run from e3 in testsuite
Rlimit would cause crashes in Windows tests. It was used by e3.testsuite
when calling self.shell, and would result into the following error:
"rlimit: cannot spawn process (error 0x2)".

Fix this with a replacement with Run, from e3.os.process, which should
not call any bug.

TN: V223-017
2022-06-27 17:16:29 +02:00
Victor Verbeke
04cd5ae478 Merge pull request #53 from VictorVerbeke/master
Fix test name parsing for diff to work on GAIA
2022-06-20 11:58:38 +02:00
Verbeke Victor
994f4c5e80 Fix test name parsing for diff to work on GAIA
Test names were prepended with a "test__" value, making the diffs on
gaia fail, thus making the results invalid.

TN: V223-017
2022-06-17 12:20:39 +02:00
Victor Verbeke
429465913e Merge pull request #52 from VictorVerbeke/master
Translate templates_parser tests to e3.testsuite
2022-06-10 16:56:33 +02:00
Verbeke Victor
9b3e054f2c Migration from test.opt to test.yaml
Edition of test descriptions using test.yaml instead of test.opt in
order to use the standard e3.testsuite test finder.

TN: V223-017
2022-06-10 14:42:02 +02:00
Verbeke Victor
a27e6fb767 Update test suite to include latin-1 and xfails
TN: V223-017
2022-06-06 17:42:36 +02:00
Nicolas Boulenguez
b63c08dc68 Pass explicit ADA_PROJECT_PATH TP_XMLADA to tests.
Else the installed version is used.
2022-06-01 19:49:34 +02:00
Nicolas Boulenguez
f7cfa9bb53 Move LDFLAGS in linker command line before -l library options.
Options like --as-needed only affect following libraries,
so --as-needed currently has no effect in Library_Options.
Leading_Options exists exactly for this.
2022-06-01 19:45:49 +02:00
Nicolas Boulenguez
7b68b41ba9 Let projects depend on specific xmlada_* instead of legacy xmlada.
The xmlada project gathers all xmlada_* library projects.  Building
templates_parser with more specific dependencies avoids an unneeded
dependency on xmlada_schema.
2022-06-01 19:43:50 +02:00
Liaiss Merzougue
ff1c0aa896 Fix the wrong version in documentation. U621-025 2022-06-01 18:01:39 +02:00