summaryrefslogtreecommitdiff
path: root/test/QT
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2005-11-06 15:03:10 +0000
committerSteven Knight <knight@baldmt.com>2005-11-06 15:03:10 +0000
commit0113b86def554ddcd54b3b9eace409e16bf8a5a7 (patch)
treecba9b80d7e152fb5724474ed9057f7478482adf0 /test/QT
parent65b2ec6b93efcb9947fb90126dfb6d00748769e8 (diff)
downloadscons-0113b86def554ddcd54b3b9eace409e16bf8a5a7.tar.gz
Add support for an explicit SCONS_HOME variable for writing the SCons execution line in Visual Studio project files. (Dobes Vandermeer) Two minor test fixes for win32 portability.
Diffstat (limited to 'test/QT')
-rw-r--r--test/QT/generated-ui.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/QT/generated-ui.py b/test/QT/generated-ui.py
index 16744879..7125dd9a 100644
--- a/test/QT/generated-ui.py
+++ b/test/QT/generated-ui.py
@@ -28,10 +28,16 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
Test that the UI scanning logic correctly picks up scansG
"""
+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.subdir(['layer'],
['layer', 'aclock'],
['layer', 'aclock', 'qt_bug'])