From b6b932e5c0bd65384015c759ebf281e561e4da07 Mon Sep 17 00:00:00 2001
From: Jeet Sukumaran <jeetsukumaran@gmail.com>
Date: Tue, 23 Jun 2015 10:04:34 -0400
Subject: [PATCH] Do not run PAUP-based tests unless path to PAUP is provided

---
 README.rst                                     |  15 ++
 dendropy/interop/paup.py                       |   2 +-
 dendropy/test/test_datamodel_split_bitmasks.py | 221 +++++++++++++------------
 3 files changed, 129 insertions(+), 109 deletions(-)

--- a/README.rst
+++ b/README.rst
@@ -67,6 +67,21 @@ Testing
     If this variable is not set or set to "NONE", then any tests that rely on
     PAUP* will NOT be run.
 
+.. note::
+
+    Note that some tests rely on PAUP* being available on your system.
+    You will need to set the environmental variable ``DENDROPY_PAUP_EXECUTABLE_PATH`` to the path
+    of the PAUP* executable for these tests to be run, e.g.::
+
+        DENDROPY_PAUP_EXECUTABLE_PATH=/usr/local/bin/paup python setup.py test
+
+    or::
+
+        DENDROPY_PAUP_EXECUTABLE_PATH=/usr/local/bin/paup python -m unittest
+
+    If this variable is not set or set to "NONE", then any tests that rely on
+    PAUP* will NOT be run.
+
 Tests can be run by typing::
 
     $ python -m dendropy.test
