diff options
author | Gary Oberbrunner <garyo@oberbrunner.com> | 2014-03-01 23:05:19 (GMT) |
---|---|---|
committer | Gary Oberbrunner <garyo@oberbrunner.com> | 2014-03-01 23:05:19 (GMT) |
commit | 9f48ff3d0e3decef0ee6a2fe02194ec367094401 (patch) | |
tree | e6ac75005b7db1b3f477b3db362fc964e3b429c1 /test | |
parent | 2990e8015515e764c786c819fc7ccef18f77a8e2 (diff) | |
parent | d195102ae754743efa7578149244f82e70d089b0 (diff) | |
download | SCons-9f48ff3d0e3decef0ee6a2fe02194ec367094401.zip SCons-9f48ff3d0e3decef0ee6a2fe02194ec367094401.tar.gz SCons-9f48ff3d0e3decef0ee6a2fe02194ec367094401.tar.bz2 |
Merged in techtonik/scons (pull request #108), update copyrights to 2014
Diffstat (limited to 'test')
-rw-r--r-- | test/Interactive/version.py | 12 | ||||
-rw-r--r-- | test/option-v.py | 10 |
2 files changed, 8 insertions, 14 deletions
diff --git a/test/Interactive/version.py b/test/Interactive/version.py index bbca9ef..96ce51e 100644 --- a/test/Interactive/version.py +++ b/test/Interactive/version.py @@ -36,15 +36,11 @@ test.write('SConstruct', "") -# Construct the standard copyright marker so it doesn't get replaced +# Standard copyright marker is mangled so it doesn't get replaced # by the packaging build. -copyright_marker = '__' + 'COPYRIGHT' + '__' - -fmt = '(%s|Copyright \\(c\\) %s The SCons Foundation)\n' - -copyright_line = fmt % (copyright_marker, TestSCons.copyright_years) - - +copyright_line = """\ +(_{2}COPYRIGHT__|Copyright \\(c\\) 2001[-\d, ]+ The SCons Foundation) +""" expect1 = """\ scons>>> diff --git a/test/option-v.py b/test/option-v.py index 680f541..f3eb61c 100644 --- a/test/option-v.py +++ b/test/option-v.py @@ -31,13 +31,11 @@ test = TestSCons.TestSCons(match = TestCmd.match_re) test.write('SConstruct', "") -# Construct the standard copyright marker so it doesn't get replaced +# Standard copyright marker is mangled so it doesn't get replaced # by the packaging build. -copyright_marker = '__' + 'COPYRIGHT' + '__' - -fmt = '(%s|Copyright \\(c\\) %s The SCons Foundation)\n' - -copyright_line = fmt % (copyright_marker, TestSCons.copyright_years) +copyright_line = """\ +(_{2}COPYRIGHT__|Copyright \\(c\\) 2001[-\d, ]+ The SCons Foundation) +""" # Windows may or may not print a line for the script version # depending on whether it's invoked through scons.py or scons.bat. |