summaryrefslogtreecommitdiff
path: root/test/test.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test.py')
-rwxr-xr-xtest/test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test.py b/test/test.py
index 3d4ee8c..0759e7a 100755
--- a/test/test.py
+++ b/test/test.py
@@ -11,7 +11,7 @@ class Common(object):
SRC_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
TEST_DIR = os.path.join(SRC_DIR, 'test')
DATA_DIR = os.path.join(SRC_DIR, 'share')
- PDF2HTMLEX_PATH = os.path.join(SRC_DIR, 'pdf2htmlEX')
+ PDF2HTMLEX_PATH = os.getenv('PDF2HTMLEX_EXECUTABLE', os.path.join(SRC_DIR, 'pdf2htmlEX'))
SAVE_TMP = bool(os.environ.get('P2H_TEST_SAVE_TMP'))
GENERATING_MODE = bool(os.environ.get('P2H_TEST_GEN'))