[master] Add a README to the Anaconda tests folder

Martin Kolman mkolman at redhat.com
Fri Oct 11 08:58:32 UTC 2013


The README documents how to install dependencies needed by the tests
and how to run them, either all at once or individually.

Signed-off-by: Martin Kolman <mkolman at redhat.com>
---
 tests/README | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 50 insertions(+)
 create mode 100644 tests/README

diff --git a/tests/README b/tests/README
new file mode 100644
index 0000000..6a4b394
--- /dev/null
+++ b/tests/README
@@ -0,0 +1,50 @@
+Anaconda tests
+==============
+
+Dependencies
+------------
+
+To run the tests, you need to install the Anaconda
+build and runtime dependencies.
+
+If you installed Anaconda from a package, all runtime
+dependencies should have been installed automatically
+and you only need to install the Anaconda build dependencies:
+
+sudo make install-buildrequires
+
+
+If your Anaconda doesn't come from a package
+(git clone, unpacked source tarball, etc.),
+you _also_ need to install the runtime dependencies:
+
+sudo make install-requires
+
+
+Running the tests
+-----------------
+
+The Anaconda tests can be run either all together in sequence:
+
+make check
+
+
+Or individually:
+
+* unit tests:
+
+./tests/nosetests.sh
+
+
+* Pylint source code check:
+
+./tests/pylint/runpylint.sh
+
+
+* Gettext warning
+
+./tests/gettext/gettext_warnings.sh
+
+
+* Accelerator check
+./tests/accelerators/run_check_accelerators.sh
-- 
1.8.3.1



More information about the anaconda-patches mailing list