From c34c9ced016ddefd7ab74cb4dd3e8832c45ce812 Mon Sep 17 00:00:00 2001 From: Steven Knight Date: Thu, 10 Jun 2010 13:23:26 +0000 Subject: More Solaris test fixes. --- test/QT/source-from-ui.py | 2 +- test/rebuild-generated.py | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/test/QT/source-from-ui.py b/test/QT/source-from-ui.py index 38cc8c8..b8be72e 100644 --- a/test/QT/source-from-ui.py +++ b/test/QT/source-from-ui.py @@ -41,7 +41,7 @@ test.Qt_dummy_installation() aaa_dll = TestSCons.dll_ + 'aaa' + TestSCons._dll moc = 'moc_aaa.cc' cpp = 'uic_aaa.cc' -obj = os.path.splitext(cpp)[0] + TestSCons._shobj +obj = TestSCons.shobj_ + os.path.splitext(cpp)[0] + TestSCons._shobj h = 'aaa.h' test.Qt_create_SConstruct('SConstruct') diff --git a/test/rebuild-generated.py b/test/rebuild-generated.py index 3808845..e50992d 100644 --- a/test/rebuild-generated.py +++ b/test/rebuild-generated.py @@ -71,9 +71,7 @@ test.write('SConstruct', """\ env = Environment() -kernelDefines = env.Command("header.hh", - [], - Touch("$TARGET")) +kernelDefines = env.Command("header.hh", [], "echo > $TARGET") kernelImporterSource = env.Command( "generated.cc", ["%s"], -- cgit v0.12