Changeset 7229


Ignore:
Timestamp:
Jun 19, 2009, 1:46:02 PM (15 years ago)
Author:
rwilson
Message:

Added note about the validation problems if more than one python is installed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/numpy_anuga_validation/automated_validation_tests/README.txt

    r3706 r7229  
    44
    55The validation tests take the form of automated unit tests except that they
    6 all test the whole system rather than individual components and that they generally take considerably longer time to execute than normal unittests.
     6all test the whole system rather than individual components and that they
     7generally take considerably longer time to execute than normal unittests.
    78
    89The master script, validate_all.py, will run through all tests. 
     10
     11NOTE: In some circumstances there may be problems running validate_all.py
     12IF MORE THAN ONE PYTHON IS INSTALLED.  The workaround is to:
     131. Decide which python you want to use, and get the absolute path to that
     14   executable ('which python2.5', for example)
     152. Create a local 'bin' directory:
     16       mkdir ~/bin
     173. Create a 'python' link in that directory to the python executable:
     18       ln -s ~/bin/python <path_from_step_1>
     194. Create or modify your PATH variable in ~/.bashrc to include:
     20       export PATH=$HOME/bin:$PATH
     21   That is, ensure your 'local' bin is searched first
     225. Remove any 'python' alias you may have defined in ~/.bashrc (or elsewhere)
     236. Ensure all the above changes are in effect by opening a new terminal
     24
     25The above workaround was tested under Linux.  Not sure about Windows.
Note: See TracChangeset for help on using the changeset viewer.