diff options
author | Steven Knight <knight@baldmt.com> | 2006-02-15 05:14:30 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2006-02-15 05:14:30 (GMT) |
commit | 2708dc3927775a374fc94a6996ebe09e70705e60 (patch) | |
tree | e58962d58516f26ff0babcdb67a58435a4019f07 /test/QT/up-to-date.py | |
parent | e7190df6b6aa89dac0370dc01ae45ff39254c221 (diff) | |
download | SCons-2708dc3927775a374fc94a6996ebe09e70705e60.zip SCons-2708dc3927775a374fc94a6996ebe09e70705e60.tar.gz SCons-2708dc3927775a374fc94a6996ebe09e70705e60.tar.bz2 |
More test portability fixes. (Baptiste Lepilleur and SK)
Diffstat (limited to 'test/QT/up-to-date.py')
-rw-r--r-- | test/QT/up-to-date.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/test/QT/up-to-date.py b/test/QT/up-to-date.py index 46b9db8..b6ebfdf 100644 --- a/test/QT/up-to-date.py +++ b/test/QT/up-to-date.py @@ -34,6 +34,7 @@ ca. September 2005.) """ import os +import string import TestSCons @@ -129,10 +130,13 @@ test.write(['layer', 'aclock', 'qt_bug', 'my.cc'], """\ #include <main.h> """) -test.run(arguments = 'layer/aclock/qt_bug/my'+_obj, stderr=None) +my_obj = 'layer/aclock/qt_bug/my'+_obj +test.run(arguments = my_obj, stderr=None) + +expect = string.replace( my_obj, '/', os.sep ) test.up_to_date(options = '--debug=explain', - arguments = 'layer/aclock/qt_bug/my'+_obj, + arguments = (expect), stderr=None) test.pass_test() |