summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schauer <josch@debian.org>2016-01-21 16:01:02 +0100
committerGianfranco Costamagna <locutusofborg@debian.org>2016-01-21 16:01:02 +0100
commit45247bb7f1819368e09c1c4881eeaab118326b90 (patch)
tree619326f05033aa1b3d97539f3318a488aa8a0224
parent439fbaba46d53698623a4681f0d3ee7834b0c9b9 (diff)
test-without-datadir
Gbp-Pq: Name test-without-datadir
-rwxr-xr-xtest/test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test.py b/test/test.py
index 90e03ea..121b540 100755
--- a/test/test.py
+++ b/test/test.py
@@ -10,7 +10,7 @@ import subprocess
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')
+ DATA_DIR = os.getenv('PDF2HTMLEX_SHARE', os.path.join(SRC_DIR, 'share'))
PDF2HTMLEX_PATH = os.getenv('PDF2HTMLEX_EXECUTABLE', os.path.join(SRC_DIR, 'pdf2htmlEX'))
SAVE_TMP = bool(os.environ.get('P2H_TEST_SAVE_TMP'))