OpenToken Developer tools

Running the OpenToken tests requires AUnit.

GNAT

OpenToken uses Ada 2012 syntax. This requires GNAT GPL 2012 or later.

Download GNAT GPL 2012 from AdaCore GNAT Libre.

On Linux, I recommend installing to /opt/gnat/gpl-2012/. In addition, you will need to add:

    export LIBRARY_PATH=/usr/lib/i386-linux-gnu/

AUnit

The version of AUnit in Debian 5.0 is 1.03. OpenToken tests require the version distributed by AdaCore with GNAT 7.1.1 or GNAT GPL 2012.

AUnit can be built and used in place, or installed in the GNAT installation directory.

  1. Download:
    aunit-3.4.2-src.tgz
    from AdaCore GNAT Pro
    aunit-gpl-2012-src.tgz
    from AdaCore GNAT Libre
    aunit-gpl-2012-i686-pc-mingw32.exe
    for Windows from AdaCore GNAT Libre
  2. On Windows, run the executable.
  3. On Linux untar the source anywhere; here we assume /Projects/aunit-gpl-2012-src
  4. compile it, install it. Here we assume installing to the GNAT GPL 2012 install directory on Linux:
    su
    export PATH=/opt/gnat/gpl-2012/bin:$PATH
    cd /opt/gnat/gpl-2012
    tar zxf aunit-gpl-2012-src.tgz
    cd aunit-gpl-2012-src
    make all install BLD=debug
          

my home page Author : Stephen Leake Valid HTML 4.01! Created with Emacs powered by Ada Last modified: Thu Dec 13 02:02:41 EST 2012