forked from AdaCore/aunit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
26 lines (19 loc) · 1.41 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
AUnit README
This is the Ada unit test framework AUnit, derived
from the JUnit/CPPUnit frameworks for Java/C++. Read the AUnit Cookbook,
available in doc/ in a number of formats, for installation and usage.
AUnit is maintained by AdaCore. Please report problems at [email protected]
NOTE FOR CONTRIBUTORS
---------------------
AUnit is intended to be used on bareboard targets that have a very
limited runtime library, so many things like containers, finalization,
exception propagation and so on cannot be used in the main framework
unconditionally. For full list of restrictions see following parts of
GNAT User’s Guide Supplement for Cross Platforms:
* [4.2.2. Ada Restrictions in the Zero Footprint Profile](http://docs.adacore.com/live/wave/gnat_ugx/html/gnat_ugx/gnat_ugx/the_predefined_profiles.html#ada-restrictions-in-the-zero-footprint-profile)
* [4.2.3. Predefined Packages in the Zero Footprint Profile](http://docs.adacore.com/live/wave/gnat_ugx/html/gnat_ugx/gnat_ugx/the_predefined_profiles.html#predefined-packages-in-the-zero-footprint-profile)
Other language features and predefined packages may be used in conditional
way, by either providing the same API across different scenarios or adding
new units for full runtime scenario only. An example of such conditional usage
is FileIO variable from lib/gnat/aunit_shared.gpr that selects between
include/aunit/framework/fileio and include/aunit/framework/nofileio.