diff options
Diffstat (limited to 'test/Alias')
-rw-r--r-- | test/Alias/Alias.py | 2 | ||||
-rw-r--r-- | test/Alias/errors.py | 2 | ||||
-rw-r--r-- | test/Alias/srcdir.py | 6 |
3 files changed, 5 insertions, 5 deletions
diff --git a/test/Alias/Alias.py b/test/Alias/Alias.py index b53b8ce..0af4dc2 100644 --- a/test/Alias/Alias.py +++ b/test/Alias/Alias.py @@ -133,7 +133,7 @@ test.run(arguments = 'f1.out', test.up_to_date(arguments = 'f1.out') test.write('SConstruct', """ -TargetSignatures('content') +Decider('content') B = Builder(action = r'%(_python_)s build.py $TARGET $SOURCES') env = Environment() env['BUILDERS']['B'] = B diff --git a/test/Alias/errors.py b/test/Alias/errors.py index f2ca950..1205b29 100644 --- a/test/Alias/errors.py +++ b/test/Alias/errors.py @@ -33,7 +33,7 @@ test = TestSCons.TestSCons() test.write('SConstruct', """ env=Environment() -TargetSignatures('content') +Decider('content') env.Alias('C', 'D') env.Alias('B', 'C') env.Alias('A', 'B') diff --git a/test/Alias/srcdir.py b/test/Alias/srcdir.py index 2251165..2d7a154 100644 --- a/test/Alias/srcdir.py +++ b/test/Alias/srcdir.py @@ -25,13 +25,13 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__" """ -Verify that an Alias for a BuildDir()'s source directory works as +Verify that an Alias for a VariantDir()'s source directory works as expected. This tests for a 0.96.93 bug uncovered by the LilyPond project's build. The specific problem is that, in 0.96.93, the simple act of trying to -disambiguate a target file in the BuildDir() would call srcnode(), which +disambiguate a target file in the VariantDir() would call srcnode(), which would create a "phantom" Node for the target in the *source* directory: +-minimal @@ -81,7 +81,7 @@ Export ('env') b = 'python/out-scons' -env.BuildDir(b, 'python', duplicate=0) +env.VariantDir(b, 'python', duplicate=0) SConscript(b + '/SConscript') """) |