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 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
|
README for asrun
================
To install asrun, just type::
python setup.py install --prefix=ASTER_ROOT
Typically, ``ASTER_ROOT=/opt/aster`` or similar.
To run unittest :
- on a functionnal installation ::
cd $ASTER_ROOT/share/codeaster/asrun/unittest
run_test.py --all
- on a source repository :
1. install asrun in a test directory (for example ``/tmp/test``)::
export ASTER_ROOT=/tmp/test
python setup.py install --prefix=$ASTER_ROOT
2. configure the files in ``$ASTER_ROOT/etc/codeaster``, for example
by copying them from a working installation and use a working
version of *Code_Aster* ::
cd $ASTER_ROOT/etc/codeaster
cp /opt/aster/etc/codeaster/* .
cd $ASTER_ROOT
ln -s /opt/aster/NEW11 .
If you copied the files, do not forget to change ``ASTER_ROOT``
to ``/tmp/test``::
cd $ASTER_ROOT/etc/codeaster
vi asrun
3. run testcases::
cd $ASTER_ROOT/share/codeaster/asrun/unittest
run_test.py --all
|