Installation |
![]() ![]() |
The following section describes how the binary distribution of AutoTest can be installed. If you have downloaded the source distribution and want to compile it yourself, please refer to the corresponding section below.
Requirements
- ISE Eiffel 5.6 or greater (http://www.eiffel.com)
- Any platform supported by the above
Follow these steps to install AutoTest:
-
Set the environment variable AUTO_TEST to where
you unpacked AutoTest. Set the PATH variable to
include the 'bin' directory of AutoTest. Make
sure that the name of the path that points to
your AutoTest installation does not contain any
spaces.
For example on Windows:
set AUTO_TEST=c:\auto_test set PATH=%PATH%;%AUTO_TEST%\bin
On Linux:
export AUTO_TEST=/home/aleitner/auto_test export PATH=$PATH:$AUTO_TEST/bin
Now the command line tool 'auto_test' is ready for use. Please refer to Usage for instructions on how to use it.
Compiling AutoTest from source
Requirements:
- ISE Eiffel 5.6 or greater
- Erl-G 1.0.0
- Gobo - use the development version available via CVS from SourceForge
- ePosix 2.2
- Any platform supported by the above
Follow these steps to install AutoTest:
-
ISE Eiffel:
Make sure you have ISE Eiffel installed and that its binary directory is included in your PATH environment variable. Specifically make sure that the program 'ec' is startable from your command line prompt.
-
Gobo:
Make sure you have Gobo installed. Make sure the Gobo tools are available from your path. Try it by executing 'geant' on the command line. You will have to have the GOBO environment variable point to your Gobo installation and GOBO_EIFFEL has to be set to 'ise'.
-
ePosix:
Make sure you have ePosix installed. Please refer to the ePosix installation instructions for details. Note: Version 2.2 of ePosix contains two invalid preconditions. Only ISE Eiffel 5.6 complains about it (Version 5.5 didn't). In both preconditions replace `Void' with `Default_pointer'.
-
Erl-G:
Make sure you have Erl-G installed and the environment variable ${ERL_G} set. You do not need to compile Erl-G.
-
Set the environment variable AUTO_TEST to where you unpacked AutoTest. Set
the PATH variable to include the 'bin' directory of AutoTest.
For example on Windows:
set AUTO_TEST=c:\auto_test set PATH=%PATH%;%AUTO_TEST%\bin
On Linux:
export AUTO_TEST=/home/aleitner/auto_test export PATH=$PATH:$AUTO_TEST/bin
Make sure that the name of the path that points to your AutoTest installation does not contain any spaces.
-
Compile AutoTest (the generator)
On Windows:
cd %AUTO_TEST% geant install geant compile
On Linux:
cd $AUTO_TEST geant install geant compile
![]() ![]() ![]() ![]() |