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
2022-06-29 18:15:15 +02:00
2022-06-29 18:15:15 +02:00
2022-01-28 14:37:04 +00:00
2017-06-26 17:58:57 +02:00
2012-01-07 16:40:40 +01:00
2012-01-07 16:40:40 +01:00
2020-03-06 18:18:48 +01:00

Templates_Parser

This repository hosts the Templates_Parser library and the associated templates2ada program. These are tools to create templated text streams, such as dynamic HTML documents.

To learn more about them, you can either read our Sphinx documentation in this repository or read it from AdaCore's live docs.

Build

Some make variables can be adjusted to change the default setup:

DEFAULT_LIBRARY_TYPE=[static|relocatable]
    (default is static)

prefix=<install directory>
    (default to compiler root directory)

ENABLE_STATIC=[true|false]
    (default true)

ENABLE_SHARED=[true|false]
    (default yes on platforms supporting shared libraries)

DEBUG=[true|false]
    (default false)

PROCESSORS=N
    Number of parallel compilations
    (default 2)

To build both the static and shared version (if supported) using the default setup:

$ make

To setup the default library as relocatable and change the installation directory:

$ make DEFAULT_LIBRARY_TYPE=relocatable prefix=/opt/templates_parser setup
$ make

To install:

$ make install

Note that the installation will be done into your current GNAT root directory by default. It is possible to change this default by setting the prefix make variable, for example:

$ make prefix=/opt/templates_parser install

or using the setup step:

$ make prefix=/opt/templates_parser setup
$ make && make install
Description
No description provided
Readme 1.7 MiB
Languages
Ada 95.1%
Python 3.1%
Makefile 1.1%
Vim Script 0.7%