Last change
on this file was
7229,
checked in by rwilson, 16 years ago
|
Added note about the validation problems if more than one python is installed.
|
File size:
1.2 KB
|
Line | |
---|
1 | This directory, automated_validation_tests, contains a collection of |
---|
2 | projects that validate ANUGA against known scenarios either from physical |
---|
3 | observations or analytical solutions. |
---|
4 | |
---|
5 | The 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 |
---|
7 | generally take considerably longer time to execute than normal unittests. |
---|
8 | |
---|
9 | The master script, validate_all.py, will run through all tests. |
---|
10 | |
---|
11 | NOTE: In some circumstances there may be problems running validate_all.py |
---|
12 | IF MORE THAN ONE PYTHON IS INSTALLED. The workaround is to: |
---|
13 | 1. Decide which python you want to use, and get the absolute path to that |
---|
14 | executable ('which python2.5', for example) |
---|
15 | 2. Create a local 'bin' directory: |
---|
16 | mkdir ~/bin |
---|
17 | 3. Create a 'python' link in that directory to the python executable: |
---|
18 | ln -s ~/bin/python <path_from_step_1> |
---|
19 | 4. 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 |
---|
22 | 5. Remove any 'python' alias you may have defined in ~/.bashrc (or elsewhere) |
---|
23 | 6. Ensure all the above changes are in effect by opening a new terminal |
---|
24 | |
---|
25 | The above workaround was tested under Linux. Not sure about Windows. |
---|
Note: See
TracBrowser
for help on using the repository browser.