diff options
| author | Steven Knight <knight@baldmt.com> | 2009-01-20 19:46:16 (GMT) |
|---|---|---|
| committer | Steven Knight <knight@baldmt.com> | 2009-01-20 19:46:16 (GMT) |
| commit | e9fd7c63ea40581ca9a71e4a8660ea02dd045ed0 (patch) | |
| tree | 947d02c4cd9b4b131145b5be1e50233bd1299a05 /test/sconsign/script/Signatures.py | |
| parent | cba456a330317542c3fe58cf1c4393306dd2019f (diff) | |
| download | SCons-e9fd7c63ea40581ca9a71e4a8660ea02dd045ed0.zip SCons-e9fd7c63ea40581ca9a71e4a8660ea02dd045ed0.tar.gz SCons-e9fd7c63ea40581ca9a71e4a8660ea02dd045ed0.tar.bz2 | |
Update tests for now discovering dependencies on quoted commands
in command lines.
Diffstat (limited to 'test/sconsign/script/Signatures.py')
| -rw-r--r-- | test/sconsign/script/Signatures.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/test/sconsign/script/Signatures.py b/test/sconsign/script/Signatures.py index 2690561..823ef1d 100644 --- a/test/sconsign/script/Signatures.py +++ b/test/sconsign/script/Signatures.py @@ -36,6 +36,7 @@ SourceSignatures('timestamp') with TargetSignatures('content'). import TestSCons import TestSConsign +python = TestSCons.python _python_ = TestSCons._python_ test = TestSConsign.TestSConsign(match = TestSConsign.match_re) @@ -50,7 +51,7 @@ sub1_hello_obj = 'sub1/hello.obj' test.subdir('sub1', 'sub2') test.write('fake_cc.py', r""" -import os.path +import os import re import string import sys @@ -135,18 +136,22 @@ date_re = r'\S+ \S+ [ \d]\d \d\d:\d\d:\d\d \d\d\d\d' test.run_sconsign(arguments = "-e hello.exe -e hello.obj sub1/.sconsign", stdout = r"""hello.exe: %(sig_re)s \d+ \d+ %(sub1_hello_obj)s: %(sig_re)s \d+ \d+ + %(python)s: None \d+ \d+ %(sig_re)s \[.*\] hello.obj: %(sig_re)s \d+ \d+ %(sub1_hello_c)s: None \d+ \d+ + %(python)s: None \d+ \d+ %(sig_re)s \[.*\] """ % locals()) test.run_sconsign(arguments = "-e hello.exe -e hello.obj -r sub1/.sconsign", stdout = r"""hello.exe: %(sig_re)s '%(date_re)s' \d+ %(sub1_hello_obj)s: %(sig_re)s '%(date_re)s' \d+ + %(python)s: None '%(date_re)s' \d+ %(sig_re)s \[.*\] hello.obj: %(sig_re)s '%(date_re)s' \d+ %(sub1_hello_c)s: None '%(date_re)s' \d+ + %(python)s: None '%(date_re)s' \d+ %(sig_re)s \[.*\] """ % locals()) |
