ats
. You
can use this to run a set of test cases included with the distribution.
ats
is installed in the same bin
directory where python
and pyMPI
are installed. In the spheral/tests
directory there is
a file called integration.ats
which runs the set of automated tests we
currently support. You can generate a simple help/usage description for ats by executing ats -h
. Here's an example of running the automated
tests for a serial build assuming you downloaded the Spheral++ source into the
directory /home/username/Spheral
:
cd /home/username/Spheral/spheral/tests /home/username/Spheral/bin/ats -f 'np < 2' -e /home/username/Spheral/bin/python integration.atsNote that we added a filter (
-f 'np < 2'
) to remove any tests requiring
more than one processor.
If you built the parallel MPI enabled version of the code you would execute
cd /home/username/Spheral/spheral/tests /home/username/Spheral/bin/ats -e /home/username/Spheral/bin/pyMPI integration.atswhich will run all the tests, including the parallel cases.