diff options
author | Steven Knight <knight@baldmt.com> | 2002-04-04 09:07:00 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2002-04-04 09:07:00 (GMT) |
commit | 6603cc0d6643e529da45fef6f85fcc1a0fc02ea4 (patch) | |
tree | 4a27de7c3fd70e5af0f257ccc73aab38e343f156 /test/dependency-cycle.py | |
parent | a7669bc6a02999a3375c7e732a27ded5f9bb9935 (diff) | |
download | SCons-6603cc0d6643e529da45fef6f85fcc1a0fc02ea4.zip SCons-6603cc0d6643e529da45fef6f85fcc1a0fc02ea4.tar.gz SCons-6603cc0d6643e529da45fef6f85fcc1a0fc02ea4.tar.bz2 |
Fix --debug=tree for directory targets (Anthony Roach)
Diffstat (limited to 'test/dependency-cycle.py')
-rw-r--r-- | test/dependency-cycle.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/test/dependency-cycle.py b/test/dependency-cycle.py index 3be8da4..8116a1f 100644 --- a/test/dependency-cycle.py +++ b/test/dependency-cycle.py @@ -43,15 +43,17 @@ test.write('f1.c', r""" void f1(void) { - printf("f1.c\n"); -} + printf("f1.c\n"); +} """) -test.run(arguments = ".", stdout = "", stderr=r""" +test.run(arguments = ".", stderr=r""" SCons error: Dependency cycle: .*foo1.* -> .*foo3.* -> .*foo2.* -> .*foo1.* -> \. .* """, status=2) +test.fail_test(test.stdout() == "") + test.pass_test() |