summaryrefslogtreecommitdiffstats
path: root/test/QT/Tool.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/QT/Tool.py')
-rw-r--r--test/QT/Tool.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/test/QT/Tool.py b/test/QT/Tool.py
index 9079225..3ccabf7 100644
--- a/test/QT/Tool.py
+++ b/test/QT/Tool.py
@@ -30,14 +30,20 @@ works properly. This was broken in 0.96.95.
The configuration here is a moderately stripped-down version of the
real-world configuration for lprof (lprof.sourceforge.net). It's probably
-not completely minimal, but we're leaving it as since it represents a
+not completely minimal, but we're leaving it as-is since it represents a
good real-world sanity check on the interaction of some key subsystems.
"""
+import os
+
import TestSCons
test = TestSCons.TestSCons()
+if not os.environ.get('QTDIR', None):
+ x ="External environment variable $QTDIR not set; skipping test(s).\n"
+ test.skip_test(x)
+
test.write('SConstruct', """
import os
import os.path