summaryrefslogtreecommitdiffstats
path: root/test/option
diff options
context:
space:
mode:
authorMats Wichmann <mats@linux.com>2019-12-07 15:46:20 (GMT)
committerMats Wichmann <mats@linux.com>2019-12-07 16:45:15 (GMT)
commit3be99b7a05858fb00b99620ec1277a2fd967d415 (patch)
tree2a9cf1084c310d23062aa05add1c3ef8f476a53c /test/option
parent714d2c0baf5573c32bf709f3d252496c2359b345 (diff)
downloadSCons-3be99b7a05858fb00b99620ec1277a2fd967d415.zip
SCons-3be99b7a05858fb00b99620ec1277a2fd967d415.tar.gz
SCons-3be99b7a05858fb00b99620ec1277a2fd967d415.tar.bz2
Update debug=action-timestamps
+ Rename to action-timestamps (from action_timestamps) for consistency with other compound word options. + Put manpage entry in alphabetical order. + Describe what option does and shorten it (refers to debug=time instead of duplicating it) + Change prints a bit (and tests to match) + Show scons version where added. + Slight adjustment to manpage introduction to debug options. Along the way, fixes a lingering tag mismatch from an earlier documentation PR. Updates PR#3456 Signed-off-by: Mats Wichmann <mats@linux.com>
Diffstat (limited to 'test/option')
-rw-r--r--test/option/debug-action-timestamps.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/option/debug-action-timestamps.py b/test/option/debug-action-timestamps.py
index 0277516..059cfdf 100644
--- a/test/option/debug-action-timestamps.py
+++ b/test/option/debug-action-timestamps.py
@@ -34,13 +34,13 @@ def setup_fixtures():
test.file_fixture('../fixture/SConstruct_test_main.py', 'SConstruct')
def test_help_function():
- # Before anything else, make sure we get valid --debug=action_timestamps results
+ # Before anything else, make sure we get valid --debug=action-timestamps results
# when just running the help option.
- test.run(arguments = "-h --debug=action_timestamps")
+ test.run(arguments = "-h --debug=action-timestamps")
def build():
# Execute build
- test.run(arguments='--debug=action_timestamps')
+ test.run(arguments='--debug=action-timestamps')
build_output = test.stdout()
return build_output
@@ -84,8 +84,8 @@ def test_correctness_of_timestamps(build_output):
debug_time_patterns = [
r'Command execution time: (.*): (\d+\.\d+) seconds',
- r'Command execution start time: (.*): (\d+\.\d+) seconds',
- r'Command execution stop time: (.*): (\d+\.\d+) seconds'
+ r'Command execution start timestamp: (.*): (\d+\.\d+)',
+ r'Command execution end timestamp: (.*): (\d+\.\d+)'
]
test = TestSCons.TestSCons()