summaryrefslogtreecommitdiffstats
path: root/test/Interactive
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2021-08-02 20:06:52 (GMT)
committerWilliam Deegan <bill@baddogconsulting.com>2021-08-02 20:06:52 (GMT)
commit9be889ec7c3b9fcd5e5c3938de37f119e5269913 (patch)
tree64749f9086629c3dbaddef90a34eb3f32ca908d3 /test/Interactive
parent01dea5f5bcd6178ba53aba668ab94f6bef5cb969 (diff)
downloadSCons-9be889ec7c3b9fcd5e5c3938de37f119e5269913.zip
SCons-9be889ec7c3b9fcd5e5c3938de37f119e5269913.tar.gz
SCons-9be889ec7c3b9fcd5e5c3938de37f119e5269913.tar.bz2
Fix reproducible builds. Restore logic respecting SOURCE_DATE_EPOCH when set. Fix version tests to work with updated scons --version output. (Date format changed)
Diffstat (limited to 'test/Interactive')
-rw-r--r--test/Interactive/version.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/test/Interactive/version.py b/test/Interactive/version.py
index 76718c7..15daad7 100644
--- a/test/Interactive/version.py
+++ b/test/Interactive/version.py
@@ -1,6 +1,8 @@
#!/usr/bin/env python
#
-# __COPYRIGHT__
+# MIT License
+#
+# Copyright The SCons Foundation
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
@@ -20,12 +22,12 @@
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+#
"""
Verify the behavior of the "version" subcommand.
"""
-__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
import TestCmd
import TestSCons
@@ -56,7 +58,7 @@ test.run(arguments='-Q --interactive',
stdin="version\nexit\n")
expect2 = r"""scons>>> SCons by Steven Knight et al\.:
-\tSCons: v\S+, [^,]*, by \S+ on \S+
+\tSCons: v\S+, [^,]*,[^,]*, by \S+ on \S+
\tSCons path: \[.*\]
%(copyright_line)sscons>>>
""" % locals()