summaryrefslogtreecommitdiff
path: root/test/test_farm.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_farm.py')
-rw-r--r--test/test_farm.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/test_farm.py b/test/test_farm.py
index 98f44379..26da1934 100644
--- a/test/test_farm.py
+++ b/test/test_farm.py
@@ -256,6 +256,15 @@ class FarmTestCase(object):
shutil.rmtree(cleandir)
def main():
+ """Command-line access to test_farm.
+
+ Commands:
+
+ run testcase - Run a single test case.
+ out testcase - Run a test case, but don't clean up, to see the output.
+ clean - Clean all the output for all tests.
+
+ """
op = sys.argv[1]
if op == 'run':
# Run the test for real.