summaryrefslogtreecommitdiffstats
path: root/test/QT.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2003-11-10 16:13:15 (GMT)
committerSteven Knight <knight@baldmt.com>2003-11-10 16:13:15 (GMT)
commit8de5ae79c1f6096683ee125b38b2e2d7525b7f07 (patch)
tree386f3ae3eac37497adf92f1a1539cd9f7ce13bd3 /test/QT.py
parent9dd1434a94d2472b6f6d2956eb2b3e422d251a75 (diff)
downloadSCons-8de5ae79c1f6096683ee125b38b2e2d7525b7f07.zip
SCons-8de5ae79c1f6096683ee125b38b2e2d7525b7f07.tar.gz
SCons-8de5ae79c1f6096683ee125b38b2e2d7525b7f07.tar.bz2
Use sys.stdout.write() instead of print so line feeds in -j output will stay (more) consistent. Fix suffix-handling on case-insensitive Cygwin systems. Test fixes for Cygwin portability. (Chad Austin)
Diffstat (limited to 'test/QT.py')
-rw-r--r--test/QT.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/test/QT.py b/test/QT.py
index ce6bff0..8b25553 100644
--- a/test/QT.py
+++ b/test/QT.py
@@ -34,8 +34,10 @@ import os.path
python = TestSCons.python
_exe = TestSCons._exe
-_dll = TestSCons._dll
lib_ = TestSCons.lib_
+_lib = TestSCons._lib
+dll_ = TestSCons.dll_
+_dll = TestSCons._dll
test = TestSCons.TestSCons()
@@ -189,7 +191,7 @@ test.fail_test( not os.path.exists(test.workpath('work1', 'build', moc)) )
# 2. create .cpp, .h, moc_....cpp from .ui file
-aaa_dll = lib_ + 'aaa' + _dll
+aaa_dll = dll_ + 'aaa' + _dll
moc = 'moc_aaa.cc'
cpp = 'aaa.cc'
h = 'aaa.h'
@@ -241,7 +243,7 @@ test.fail_test(not os.path.exists(test.workpath('work2','build',moc)) or
# 3. create a moc file from a cpp file
-lib_aaa = lib_ + 'aaa.a'
+lib_aaa = lib_ + 'aaa' + _lib
moc = 'moc_aaa.cc'
createSConstruct(test, ['work3', 'SConstruct'])