Last change
on this file since 9737 was
7877,
checked in by James Hudson, 15 years ago
|
Moved all development files into trunk.
|
File size:
1.2 KB
|
Rev | Line | |
---|
[3706] | 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 |
---|
[7276] | 6 | all test the whole system rather than individual components and that they |
---|
| 7 | generally take considerably longer time to execute than normal unittests. |
---|
[3706] | 8 | |
---|
[7276] | 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: |
---|
[7661] | 18 | ln -s <path_from_step_1> ~/bin/python |
---|
[7276] | 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.