summaryrefslogtreecommitdiffstats
path: root/test/QT
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2005-11-06 15:03:10 (GMT)
committerSteven Knight <knight@baldmt.com>2005-11-06 15:03:10 (GMT)
commit0113b86def554ddcd54b3b9eace409e16bf8a5a7 (patch)
treecba9b80d7e152fb5724474ed9057f7478482adf0 /test/QT
parent65b2ec6b93efcb9947fb90126dfb6d00748769e8 (diff)
downloadSCons-0113b86def554ddcd54b3b9eace409e16bf8a5a7.zip
SCons-0113b86def554ddcd54b3b9eace409e16bf8a5a7.tar.gz
SCons-0113b86def554ddcd54b3b9eace409e16bf8a5a7.tar.bz2
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 1674487..7125dd9 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'])