diff options
-rw-r--r-- | test/QT/source-from-ui.py | 2 | ||||
-rw-r--r-- | 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"], |