summaryrefslogtreecommitdiffstats
path: root/test/DVIPDF.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/DVIPDF.py')
-rw-r--r--test/DVIPDF.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/DVIPDF.py b/test/DVIPDF.py
index d22cfd8..25856dc 100644
--- a/test/DVIPDF.py
+++ b/test/DVIPDF.py
@@ -100,8 +100,9 @@ test.fail_test(test.read('test2.pdf') != "This is a .tex test.\n")
dvipdf = test.where_is('dvipdf')
+tex = test.where_is('tex')
-if dvipdf:
+if dvipdf and tex:
test.write("wrapper.py", """import os
import string