From c5f2413c98c3ac4804c4430586d56ffa361414fd Mon Sep 17 00:00:00 2001 From: anatoly techtonik Date: Tue, 25 Feb 2014 08:13:41 +0300 Subject: Make test/option-v.py independent onf specific copyright years. --- test/option-v.py | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) 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. -- cgit v0.12