diff options
author | Steven Knight <knight@baldmt.com> | 2005-12-27 22:24:55 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2005-12-27 22:24:55 (GMT) |
commit | b03e7ab4ca681e521249cfed7a727299c76378db (patch) | |
tree | acaae981ff2f6ce27cbf760c83b113f76129705e /test/option/taskmastertrace.py | |
parent | 0859903f99927abc0383b2e642d060604d5f9695 (diff) | |
download | SCons-b03e7ab4ca681e521249cfed7a727299c76378db.zip SCons-b03e7ab4ca681e521249cfed7a727299c76378db.tar.gz SCons-b03e7ab4ca681e521249cfed7a727299c76378db.tar.bz2 |
Handle scanning of the in-memory entries for a Dir with a scanner, not a hard-coded Python method.
Diffstat (limited to 'test/option/taskmastertrace.py')
-rw-r--r-- | test/option/taskmastertrace.py | 36 |
1 files changed, 26 insertions, 10 deletions
diff --git a/test/option/taskmastertrace.py b/test/option/taskmastertrace.py index 066e1ff..b1b8717 100644 --- a/test/option/taskmastertrace.py +++ b/test/option/taskmastertrace.py @@ -41,13 +41,21 @@ env.Command('file.mid', 'file.in', Copy('$TARGET', '$SOURCE')) test.write('file.in', "file.in\n") expect_stdout = test.wrap_stdout("""\ -Taskmaster: '.': waiting on unstarted children: - ['file.out', 'file.mid'] -Taskmaster: 'file.mid': building +Taskmaster: '.': children: + ['SConstruct', 'file.in', 'file.mid', 'file.out'] + waiting on unstarted children: + ['file.mid', 'file.out'] +Taskmaster: 'file.mid': children: + ['file.in'] + evaluating Copy("file.mid", "file.in") -Taskmaster: 'file.out': building +Taskmaster: 'file.out': children: + ['file.mid'] + evaluating Copy("file.out", "file.mid") -Taskmaster: '.': building +Taskmaster: '.': children: + ['SConstruct', 'file.in', 'file.mid', 'file.out'] + evaluating """) test.run(arguments='--taskmastertrace=- .', stdout=expect_stdout) @@ -66,11 +74,19 @@ Copy("file.out", "file.mid") test.run(arguments='--taskmastertrace=trace.out .', stdout=expect_stdout) expect_trace = """\ -Taskmaster: '.': waiting on unstarted children: - ['file.out', 'file.mid'] -Taskmaster: 'file.mid': building -Taskmaster: 'file.out': building -Taskmaster: '.': building +Taskmaster: '.': children: + ['SConstruct', 'file.in', 'file.mid', 'file.out'] + waiting on unstarted children: + ['file.mid', 'file.out'] +Taskmaster: 'file.mid': children: + ['file.in'] + evaluating +Taskmaster: 'file.out': children: + ['file.mid'] + evaluating +Taskmaster: '.': children: + ['SConstruct', 'file.in', 'file.mid', 'file.out'] + evaluating """ test.must_match('trace.out', expect_trace) |